Error connecting to demo Loki datasource

loki

#1

Hello, I tried to use the cloud demo instance with the demo Loki datasource, but I get the error:

Error connecting to datasource: Data source connected, but no labels received. Verify that Loki and Promtail is configured properly.

Any help would be appreciated.


#2

Hi, I’m also receiving this error. I see the following in my k8s pod logs:

$ kubectl logs promtail-2cgpz -nmonitoring
level=error ts=2019-01-30T17:40:01.227043631Z caller=main.go:35 msg="error loading config" filename=/etc/promtail/promtail.yml err="yaml: line 33: mapping values are not allowed in this context"

#3

Hi,

i have deployed prometheus operator and loki charts 2 days before and work fine, I was updrade the grafana docker image and i have the error

Error connecting to datasource: Data source connected, but no labels received. Verify that Loki and Promtail is configured properly.

I can retrieve logs from loki usin the api, i can understand that this part is working.

someone else?


#4

Please try the latest master docker image. There was a bug causing this which should have been fixed.

Regarding cloud demo that should also been updated with bug fix so please try again.


#5

Thanks @mefraimsson, much appreciated. I’m up and running now! :tada: