Sentry Developer Metrics #823
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 Laravel SDK. You can now flush metrics directly to Sentry via the newly introduced APIs.
To use metrics, you need a minimum Laravel SDK version of
4.0.0
as well as a minimum PHP SDK version of4.3.0
.You can update the underlying PHP SDK with composer.
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 yourconfig/sentry.php
file.'attach_metric_code_locations' => true,
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