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

Is it possible to use Prometheus as tsdb source? #103

Closed
freedomwarrior opened this issue Feb 5, 2020 · 2 comments
Closed

Is it possible to use Prometheus as tsdb source? #103

freedomwarrior opened this issue Feb 5, 2020 · 2 comments

Comments

@freedomwarrior
Copy link

If yes, show me please some example how to use it.
Thnx!

@daldoyle
Copy link
Contributor

daldoyle commented Feb 5, 2020

We don't use Prometheus as a datasource unfortunately so I do not have an example I can demonstrate for you. Grafana uses a standardization for the data format for any datasource which is how visualizations are able to interoperate regardless of datasource, so it should work just fine. The real trick in the map is how to associate the data back to the elements on the map, which is what the results.links.endpoints element is all about.

Here's an example of someone figuring out how to make it work using InfluxDB. I've seen it work with MySQL, ElasticSearch, InfluxDB, and our in house driver so I would expect this to work with Prometheus as well.
#97 (comment)

@freedomwarrior
Copy link
Author

freedomwarrior commented Feb 6, 2020

Yes, it works.
One more question.
How can I add data from link in custom tooltip?
Something like $link.max didnt work.

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