Open M0NsTeRRR opened 7 months ago
I think it looks good. @mweinelt will have to check and provide feedback.
Sorry for not getting back to you. I'm not super convinced about the overflow handling. Is that really something we have to handle ourselves, or does the client library offer some functionality here?
No problems :)
Regarding the overflow, it's something we need to address if we want to handle certain cases. We have two choices:
The library doesn't deal with counter resets; we have to trigger it ourselves. See https://github.com/prometheus/client_python/issues/995.
fix: #52
This PR is based on my interpretation of metrics from the documentation, as the descriptions for some metrics are not very clear.
Based on :