Dabz / ccloudexporter

Prometheus exporter for Confluent Cloud API metric
https://docs.confluent.io/current/cloud/metrics-api.html
87 stars 53 forks source link

Consider crashing if a 403 response is returned #71

Closed cotedm closed 2 years ago

cotedm commented 3 years ago

It's easy to forget you have a ccloudexporter instance running against a cluster that has been torn down. This results in spamming 403 errors until someone notices. Since 403 errors are usually permanent failures that require user intervention to fix, consider crashing the ccloudexporter to fail fast if one is returned.

Dabz commented 2 years ago

Let me close this issue as this has been implemented as part of #93