Stackdriver / stackdriver-prometheus-sidecar

A sidecar for the Prometheus server that can send metrics to Stackdriver.
https://cloud.google.com/monitoring/kubernetes-engine/prometheus
Apache License 2.0
120 stars 43 forks source link

ResourceExhausted is a recoverableError #261

Open mrkm4ntr opened 3 years ago

mrkm4ntr commented 3 years ago

I think ResoueceExhausted error by exceeding quota should be a recoverableError. We should introduce some rate limiter (may use this unused rateLimiter? ), but this PR doesn't include it. https://github.com/Stackdriver/stackdriver-prometheus-sidecar/blob/1361301230bcfc978864a8f4c718aba98bc07a3d/stackdriver/queue_manager.go#L163