ujamii / prometheus-sentry-exporter

Exports sentry project metrics for prometheus.
MIT License
38 stars 12 forks source link

fix rate limit issue #20

Closed sergeylanzman closed 1 year ago

sergeylanzman commented 2 years ago

fix https://github.com/ujamii/prometheus-sentry-exporter/issues/19

mgrundkoetter commented 2 years ago

Thanks for your contribution!

As the rate limit is only an issue with hosted sentry and does not occur with on-premise installations, the sleep would slow down many actions although it is not really needed. So this behavior should either be configurable and disabled by default (like ?useThrottling=1 to activate it) or the throttling is activated automatically, when the return code of the request indicates the rate limit has actually occured.

sergeylanzman commented 2 years ago

@mgrundkoetter Done

mgrundkoetter commented 1 year ago

I solved the mentioned issues in this PR and opened another one #21 Thanks for your contribution!