Skip to content

ScrapeInterval per metric #176

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
agkcn opened this issue Feb 11, 2025 · 2 comments
Open

ScrapeInterval per metric #176

agkcn opened this issue Feb 11, 2025 · 2 comments

Comments

@agkcn
Copy link

agkcn commented Feb 11, 2025

Hi

I am using the latest version 1.5.3. What i observed from the debug logs is that the scrape interval per metric is not getting honoured. Everytime the url is scraped, all queries in the custom-metrics.toml are run, eventhough for some metrics have scrapeinterval set to 24h.

@markxnelson
Copy link
Member

Thanks for reporting @agkcn , we will take a look and get back to you

@redelang
Copy link

I'd like to add that when using the exporter scrape interval, the metrics that have a scrape interval configured are not exposed it seems. I suspect they are only exposed when the scrape interval moment is there, but not on other moments. I would have expected to 'old' value is exposed as long as the metric is not updated.

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

3 participants