Closed jorgelbg closed 4 years ago
Would be curious to know the answer to this. We were considering putting Loki data into a map as well.
@austenmadden I managed to get it working, the issue was that the options available for customizing the query for the Loki datasource are not the same as for a Prometheus datasource.
The good news is that we can configure Loki as a Prometheus datasource in Grafana. We just need to use the http://<ip>:<port>/loki
path. We can now, use the same toggles on Loki as if it were a Prometheus server (with the subset of PromQL supported by LogQL).
@jorgelbg Thank for the quick followup. That seems like a solid workaround. Good to know!
Any time. I'm closing this issue since we already know the answer.
I've been playing with Loki recently and trying to create a map using this plugin without any success. AFAIK the response from the Loki datasource should be fairly similar to the Prometheus one.
I'm testing with the following query:
When inspecting the query this is the output:
Query Inspector output:
yet, when configuring the datasource following what is recommended in this post and in issue #245 does not work.
I keep getting the following error: "Error: Missing geohash value".
ℹ️ If I use a Table visualization with the same query I get a Metric column with the following content (matching the
metric
from the JSON payload):