-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/node
SDK Version
10.26.0
Framework Version
No response
Link to Sentry event
No response
Reproduction Example/SDK Setup
I'm just following the example provided by the "wizard".
Sentry.init({ dsn: MY_DSN });
Sentry.metrics.gauge('delayInSeconds', 120);
If I set the flag debug: true when doing the init I get this
Sentry Logger [log]: [Metric] {
timestamp: 1763725831.9490185,
trace_id: 'fe4bc970aa2941828ef7b5ce7cb181c0',
span_id: undefined,
name: 'delayInSeconds',
type: 'gauge',
unit: undefined,
value: 12642.6435,
attributes: {
'server.address': { value: 'Dot-On-Workstation-6.local', type: 'string' },
'sentry.sdk.name': { value: 'sentry.javascript.node', type: 'string' },
'sentry.sdk.version': { value: '10.26.0', type: 'string' }
}
}
But nothing is displayed on the dashboard.
Not sure what might be wrong.
The org slug if helps is obs-c-eu-sentry-48757
Steps to Reproduce
Sentry.init({ dsn: MY_DSN });
Sentry.metrics.gauge('delayInSeconds', 120);
Expected Result
I expect to see the metric on the metrics dashboard
Actual Result
The metrics dashboard appears like nothing has been ever sent. It shows the guide to start with metrics.
Additional Context
No response
Priority
React with π to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it.
Metadata
Metadata
Assignees
Projects
Status
Waiting for: Product Owner