-
Notifications
You must be signed in to change notification settings - Fork 18
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
Use new metadata endpoint to retrieve data for hover and completion #76
Comments
This allows for more correct metadata on hover and more better metadata on completion. |
It should be considered to add some compatibility check to avoid breakage with Prometheus Versions that do not support the new API. |
1 similar comment
It should be considered to add some compatibility check to avoid breakage with Prometheus Versions that do not support the new API. |
Depends on prometheus/client_golang#705 . |
@slrtbtfs Any plans. I would like to work on this as
is closed. |
@drumilpatel2000 Currently no one is working on this, so a PR would be appreciated. It might make sense to first do a PR where the response here is used to check the version of the connected Prometheus instance, since the new metadata endpoint is only supported since Prometheus version 2.15 . |
The metadata API can be used here as well, so this issue is not yet closed. |
See prometheus/prometheus#6395 .
The text was updated successfully, but these errors were encountered: