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

Added startupProbe endpoint to minimize metrics gaps #31

Open
jkroepke opened this issue Mar 20, 2023 · 3 comments
Open

Added startupProbe endpoint to minimize metrics gaps #31

jkroepke opened this issue Mar 20, 2023 · 3 comments

Comments

@jkroepke
Copy link
Contributor

Hi,

i would like to ask if its possible to and an endpoint which observes if all defined metric collectors are run once.

Such an endpoint could be used for an startupProbe. Together with RollingUpgrade, Prometheus would reference to the existing running pod until the metrics from the new pods are available. This would minimize metrics gaps on Promethes and Grafana.

Since costs queries are enabled, the initial run could takes a while. The endpoint should take care of the cache, e.g. the costs cached an available, the endpoint should not wait for an initial cost query run.

@mblaschke
Copy link
Member

will have a look how to implement this feature

@mblaschke
Copy link
Member

i've added caching to all collectors, so this should speed up the the restart of the exporter
added with 23.5.0-beta0

@mblaschke
Copy link
Member

is caching solving the issue?

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

No branches or pull requests

2 participants