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

Make SLO examples in README clearer #53

Closed brettimus closed 1 year ago

brettimus commented 1 year ago

This came out of a conversation with Ivan, where I asked him why our example code contained both latency and success_rate. Although that's possible, it'd be more common to simply define one or the other. This way, the examples can also make it clearer what specifically they're doing.