Skip to content

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

Merged
tillprochaska merged 2 commits intodevelopfrom
fix/exporter-probes
Nov 7, 2024
Merged

Update Prometheus exporter probes so they do not actually generate all metrics#3996
tillprochaska merged 2 commits intodevelopfrom
fix/exporter-probes

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
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