autometrics-dev / autometrics-py

Easily add metrics to your code that actually help you spot and debug issues in production. Built on Prometheus and OpenTelemetry.
https://autometrics.dev
Apache License 2.0
214 stars 7 forks source link

Don't initialize instruments to 0 in production mode #90

Open actualwitch opened 11 months ago

actualwitch commented 11 months ago

to better match rust implementation, we should only initialize counters to 0 in dev mode(how that would look like in python is a separate question). more context here https://github.com/orgs/autometrics-dev/discussions/67 and in discord