-
Notifications
You must be signed in to change notification settings - Fork 103
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
[Feature Request] Cache mechanism #351
Comments
That would be cool! |
I like the idea in general. But if the exporter was to collect all the data independently from the Prometheus scraping I suggest to also introduce some kind of worker pattern to split up the collection of all those metrics. |
Hi @frittentheke . Thanks for your feedback. I want to make sure we are on the same page here.
When you mention about I think we can limit the scope here, we still use the same collector and provide a cache here. The collector optimization can be another issue. What do you think? (We are also thinking about the scaling problem, so it's nice if we can make it scalable) |
relate to: #214
We propose introducing an optional caching feature to the exporter to address slow queries, which can be activated as follows:
This feature would entail a background process that collects metrics every 5 minutes (customizable) and stores them in a file or memory. Cached values would be returned upon Prometheus scraping, provided the cache is ready.
We're eager to assist with its implementation but seek the maintainer's approval on whether this would be a valuable addition.
The text was updated successfully, but these errors were encountered: