Skip to content
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

Update Prometheus exporter probes so they do not actually generate all metrics #3996

Merged
merged 2 commits into from
Nov 7, 2024

Conversation

tillprochaska
Copy link
Contributor

Generating all metrics can take multiple seconds for large Aleph instances, which can make the liveness/readiness probe fail. The name[] query parameter can be used to select a subset of metrics the exporter should return (or no metrics as all in this case). That way, we can check that the exporter is up and running without actually generating any metrics.

…l metrics

Generating all metrics can take multiple seconds for large Aleph instances, which can make the liveness/readiness probe fail. The `name[]` query parameter can be used to select a subset of metrics the exporter should return (or no metrics as all in this case). That way, we can check that the exporter is up and running without actually generating any metrics.
@tillprochaska tillprochaska marked this pull request as ready for review November 7, 2024 09:15
This should be a little closer to real-world usage
Copy link
Contributor

@stchris stchris left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds sensible to me. Thanks for figuring it out and fixing it! 🚀

@tillprochaska tillprochaska merged commit 7d4906a into develop Nov 7, 2024
2 checks passed
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.

3 participants