We are working on PLG (promtail , loki and grafana) stack setup , loki is deployed in distributed microservice mode . Promtail and loki is working as expected but when trying to add loki as a datasource in grafana dashboard we are getting the below error (PFA screenshot for the same). Can you please help on this.
Unable to fetch labels from Loki (Failed to call resource)
Error logs :
logger=sqlstore t=2022-07-07T07:47:38.451264825Z level=info msg=“Database locked, sleeping then retrying” error=“database is locked” retry=0
logger=context traceID=00000000000000000000000000000000 userId=1 orgId=1 uname=admin t=2022-07-07T08:14:24.575931983Z level=info msg=“Request Completed” method=GET path=/api/live/ws status=0 time_ms=1 duration=1.072052ms size=0 referer= traceID=00000000000000000000000000000000
logger=context traceID=00000000000000000000000000000000 userId=1 orgId=1 uname=admin t=2022-07-07T08:14:32.576690448Z level=error msg=“Failed to call resource” error=“\r\n404 Not Found\r\n\r\n
404 Not Found<
logger=context traceID=00000000000000000000000000000000 userId=1 orgId=1 uname=admin t=2022-07-07T07:40:14.056975972Z level=info msg=“Request Completed” method=GET path=/api/live/ws status=0 time_ms=1 duration=1.176239ms size=0 referer= traceID=00000000000000000000000000000000
logger=context traceID=00000000000000000000000000000000 userId=1 orgId=1 uname=admin t=2022-07-07T07:40:26.484892541Z level=error msg=“Failed to call resource” error=”\r\n404 Not Found\r\n\r\n
404 Not Found
\r\nnginx\r\n\r\n\r\n" traceID=00000000000000000000000000000000
logger=context traceID=00000000000000000000000000000000 userId=1 orgId=1 uname=admin t=2022-07-07T07:40:26.484957144Z level=error msg=“Request Completed” method=GET path=/api/datasources/1/resources/labels status=500 time_ms=16 duration=16.982728ms size=83