Skip to content

Surface failed ECS API requests to the collector #111

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

isker
Copy link
Contributor

@isker isker commented Apr 12, 2025

We occasionally see the ECS APIs called by ecs_exporter 500 on the first request or two, so the metrics served by the exporter are nonsense. By using NewInvalidMetric in response to Collect, we can ensure that HTTP 500s are served on /metrics whenever such errors occur.

Closes #97.

We occasionally see the ECS APIs called by ecs_exporter 500 on the first
request or two, so the metrics served by the exporter are nonsense. By
using NewInvalidMetric in response to Collect, we can ensure that HTTP
500s are served on /metrics whenever such errors occur.

Closes prometheus-community#97.

Signed-off-by: Ian Kerins <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Surface failed metric collections to the collector
1 participant