lightstep / lightstep-tracer-go

The Lightstep distributed tracing library for Go
https://lightstep.com
MIT License
98 stars 54 forks source link

feature: Support environment variable to disable metrics #259

Closed codeboten closed 3 years ago

codeboten commented 3 years ago

Adding the ability to disable metrics via the LS_METRICS_ENABLED environment variable. Setting this variable to LS_METRICS_ENABLED=false will disable system metrics.

Fixes https://github.com/lightstep/lightstep-tracer-go/issues/256