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
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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.0as 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_locationsoption to yourconfig/sentry.phpfile.'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