Skip to content

Metrics not sent to the project #18293

@alietors

Description

@alietors

Is there an existing issue for this?

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

No fields configured for issues without a type.

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions