Sentry Developer Metrics #1666
cleptric
started this conversation in
Features / Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Sentry now has alpha support for Sentry Developer Metrics in the PHP SDK. You can now flush metrics directly to Sentry via the newly introduced APIs.
To use metrics, you need a minimum SDK version of
4.3.0
. If you're on self-hosted, you'll also need to enable the feature flags.Then, you'll be able to add counters, sets, distributions, and gauges.
To attach the code location of your metrics, add the new
attach_metric_code_locations
option to your\Sentry\init()
call.In case you're not already enrolled on our Metrics alpha program, please sign up here.
Beta Was this translation helpful? Give feedback.
All reactions