jusbrasil / pingdom-exporter

An exporter for Prometheus that collects metrics from Pingdom.
https://pingdom.com
BSD 2-Clause "Simplified" License
29 stars 13 forks source link

Add `pingdom_min_request_limit` internal metric #15

Closed rabenhorst closed 5 months ago

rabenhorst commented 6 months ago

Add pingdom_min_request_limit internal metric, which returns the minimal value of reaming requests from Req-Limit-Short and Req-Limit-Long headers. This will allow to monitor the remaining request limit to take action before the API rate limits a token or whole account.

pedro-stanaka commented 6 months ago

@danielfm pinging you for a review. Obrigado!

pedro-stanaka commented 6 months ago

One more thing I noticed, I think you need to add docs for the metric in the README.

danielfm commented 5 months ago

Thanks!