Open bpsizemore opened 3 months ago
Running in microservices mode. Had the same error logs. I've changed my config from
server_address: dns+loki-index-gateway-headless.logging.svc.cluster.local:9095
to
server_address: dns:///loki-index-gateway.logging.svc.cluster.local:9095
and that error disappeared. But queries are now even longer, sometimes x2 than before.
Edit: changed to
server_address: loki-index-gateway.logging.svc.cluster.local:9095
Query request duration returned to expected values.
I'm trying to setup Loki in SimpleScalableMode per the documentations recommendation.
Values file looks like:
Deployment succeeds and everything appears to come up clean, but I'm having issues with the loki-read.
Logs indicate that it cannot find an IP for the
loki-backend-headless
svc.However, service exists and is present:
Furthermore - DNS resolution appears to be working as expected on the loki-read pod.
This also matches the IP for my backend:
The logs on the backend pod look normal - no errors. Not sure what other steps I should be doing to debug/identify the issue. I'm able to connect from Grafana to the loki instance successfully with credentials over my gateway, and a random X-Scope-OrgID header, but no data or labels ever load. I also tried querying the api directly to get labels to see if there is any particular issue. It just hangs and generates this log on the reader
level=info ts=2024-08-21T02:39:30.290268674Z caller=roundtrip.go:430 org_id=test traceID=33d5314efa98d4c6 msg="executing query" type=labels label= length=1h0m0s query=