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

Caching layer for Prometheus metadata API #66

Open
slrtbtfs opened this issue Nov 18, 2019 · 1 comment
Open

Caching layer for Prometheus metadata API #66

slrtbtfs opened this issue Nov 18, 2019 · 1 comment
Labels
enhancement New feature or request performance Performance problems and improvements

Comments

@slrtbtfs
Copy link
Member

For performance reasons it is desirable to keep the number of requests to the connected Prometheus instance small.

To achieve that it would be nice to have some kind if in-memory caching layer between the language server and parts of the Prometheus v1 API.

@gotjosh mentioned that reusing the internal data structures of Prometheus implemented here would help reduce the memory footprint of such a cache.

@slrtbtfs slrtbtfs added enhancement New feature or request performance Performance problems and improvements labels Nov 18, 2019
@slrtbtfs
Copy link
Member Author

slrtbtfs commented Feb 19, 2020

Before working on this should be performed some testing to figure out how much load on the Prometheus server the language server actually causes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance Performance problems and improvements
Projects
None yet
Development

No branches or pull requests

1 participant