Sentry Developer Metrics for Node/Deno/Bun #9973
Closed
AbhiPrasad
started this conversation in
Features / New SDKs (Integrations) / Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Important
Below were docs from our initial alpha. We now have docs for this in our main docs site: https://docs.sentry.io/platforms/node/metrics/
Sentry now has alpha support for Sentry developer metrics in the server runtime SDKs (
@sentry/node
,@sentry/deno
,@sentry/nextjs
server-side, etc.). Via the newly introduced APIs, you can now flush metrics directly to Sentry.To get enrolled into our Metrics alpha program, please sign up here. If you're using self-hosted Sentry, please reach out via discord for help to get set up!
To use metrics, you need a minimum SDK version of
7.91.0
.To enable capturing metrics, you first need to add the
metricsAggregator
experiment to yourSentry.init
call.Then you'll be able to add counters, sets, distributions, and gauges under the
Sentry.metrics
namespace.For using metrics on the browser, please see: #9938
Beta Was this translation helpful? Give feedback.
All reactions