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
How to configure Loki as Prometheus datasource? #1222
Comments
More details: Inside grafana/loki:v0.4.0 container:
9095 - is some binary data |
Hi, |
Append |
Thanks guys, http://loki:3100/loki looks working. |
I know this issue has been closed, but I am having some issue setting this up. However, when I configure my Prometheus data source to use http://loki:3100/loki as server URL, with latest docker images. My grafana UI got stucked "Loading metrics", hence not being able to perform any query. Am I missing anything? |
No you’re not missing anything. This box doesn’t yet work (soon) but you can still make queries. |
Thanks @cyriltovena . So for keep an eye on the progress, should I watch releases of Loki or Grafana itself? |
Grafana, there is already a version supporting this but not tagged I think |
https://[my-loki-url]/loki in my 2.0 version seems to have no effect. Has anyone encountered the same situation? |
Yes, this solution doesn't work in new version. Grafana 7.4.0-pre. I found a video from Grafana officials to introduce Alert on your Loki logs with Grafana in Feb/2020. Can I say this feature is supported but somehow, doesn't work right now? In 7.4.0-pre, Grafana will request two APIs:
The request of We also tested 7.0.4 and everything is working fine. There are no The exemplar is used to correlate metrics and tracing, from TNS Observability Demo of Grafana/Loki/Prometheus/Tempo. And I guess it is a quite new feature and Loki didn't support it yet. |
Having same issue in production ! Thank you |
Hey
grafana 7.0.0 |
Hello,
New v0.4.0 release version is support PromQL as I understand. Here proof link - https://grafana.com/blog/2019/10/28/whats-new-in-loki-v0.4.0/
I would like to add Loki as Prometheus datasource in Grafana (6.4.3 version) but can't find what is correct address? I already use Loki datasource (address is http://loki:3100) and it works.
I need to use PromQL to configure alert trigger for some log message regexp.
Thanks.
The text was updated successfully, but these errors were encountered: