Sentry Developer Metrics for Electron #10110
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/javascript/guides/electron/metrics/
Sentry now has alpha support for Sentry developer metrics for the Sentry Electron SDK. 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
4.17.0
.To enable capturing metrics, you first need to add the
metricsAggregator
experiment to yourSentry.init
call in your main processThen 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
For using metrics in server runtimes (Node, Deno, Bun, Vercel Edge, etc.) please see: #9973
Beta Was this translation helpful? Give feedback.
All reactions