Skip to content

feat(deno): Export metrics API from Deno SDK#19305

Open
sergical wants to merge 3 commits intodevelopfrom
feat/deno-metrics
Open

feat(deno): Export metrics API from Deno SDK#19305
sergical wants to merge 3 commits intodevelopfrom
feat/deno-metrics

Conversation

@sergical
Copy link
Member

@sergical sergical commented Feb 12, 2026

Summary

  • Add metrics to the @sentry/core re-export block in packages/deno/src/index.ts
  • The metrics namespace is already exported from @sentry/core and re-exported by @sentry/node, but was missing from the Deno SDK

Test plan

  • yarn build:dev:filter @sentry/deno passes
  • cd packages/deno && yarn test — all 12 tests pass
  • eslint src/index.ts — no lint issues

🤖 Generated with Claude Code

Closes #19307 (added automatically)

@github-actions
Copy link
Contributor

github-actions bot commented Feb 12, 2026

Codecov Results 📊


Generated by Codecov Action

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

The metrics namespace is already exported from @sentry/core and re-exported
by @sentry/node, but was missing from the Deno SDK.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link
Member

@isaacs isaacs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me! 👍

@chargome chargome self-assigned this Feb 13, 2026
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m: Please also export the according Metric type here

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sergical sergical requested a review from chargome February 13, 2026 14:12
Deno tests run via Deno's native test runner, not vitest, so codecov
cannot see their coverage. Adding packages/deno/** to the codecov ignore
list prevents false coverage drops. Also gitignore deno.lock which is
generated when running deno test.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(deno): Export metrics API from Deno SDK

3 participants