Open patsevanton opened 1 year ago
Add log.level=debug for queryScheduler, querier
Debug quiery
loki-loki-distributed-query-scheduler-f6d8d7dd-5cn6r query-scheduler level=debug ts=2023-02-01T02:11:12.319053413Z caller=logging.go:76 traceID=34f46c9de2f9dc82 orgID=fake msg="GET /ready (200) 44.14µs"
loki-loki-distributed-querier-c7cf896c4-g54qt querier level=debug ts=2023-02-01T02:11:12.389776118Z caller=logging.go:76 traceID=06469fc5fad5851d orgID=fake msg="GET /ready (200) 52.811µs"
loki-loki-distributed-querier-c7cf896c4-g54qt querier level=debug ts=2023-02-01T02:11:12.389776111Z caller=logging.go:76 traceID=4af172f9a3ed8778 orgID=fake msg="GET /ready (200) 52.81µs"
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier ts=2023-02-01T02:11:12.661477481Z caller=spanlogger.go:80 user=fake method=query.Label level=warn msg="deprecated querier:query_timeout YAML configuration identified. Please migrate to limits:query_timeout instead." call=WrapQuerySpanAndTimeout
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier level=warn ts=2023-02-01T02:11:12.661524676Z caller=querier.go:361 msg="deprecated querier:query_timeout YAML configuration identified. Please migrate to limits:query_timeout instead." err=null call=Label
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier ts=2023-02-01T02:11:12.661617309Z caller=spanlogger.go:80 user=fake method=SeriesStore.LabelNamesForMetricName level=debug metric=logs
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier ts=2023-02-01T02:11:12.661728421Z caller=spanlogger.go:80 user=fake level=debug Ingester.TotalReached=0 Ingester.TotalChunksMatched=0 Ingester.TotalBatches=0 Ingester.TotalLinesSent=0 Ingester.TotalChunksRef=0 Ingester.TotalChunksDownloaded=0 Ingester.ChunksDownloadTime=0s Ingester.HeadChunkBytes="0 B" Ingester.HeadChunkLines=0 Ingester.DecompressedBytes="0 B" Ingester.DecompressedLines=0 Ingester.CompressedBytes="0 B" Ingester.TotalDuplicates=0 Querier.TotalChunksRef=0 Querier.TotalChunksDownloaded=0 Querier.ChunksDownloadTime=0s Querier.HeadChunkBytes="0 B" Querier.HeadChunkLines=0 Querier.DecompressedBytes="0 B" Querier.DecompressedLines=0 Querier.CompressedBytes="0 B" Querier.TotalDuplicates=0
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier ts=2023-02-01T02:11:12.661764581Z caller=spanlogger.go:80 user=fake level=debug Cache.Chunk.Requests=0 Cache.Chunk.EntriesRequested=0 Cache.Chunk.EntriesFound=0 Cache.Chunk.EntriesStored=0 Cache.Chunk.BytesSent="0 B" Cache.Chunk.BytesReceived="0 B" Cache.Index.Requests=0 Cache.Index.EntriesRequested=0 Cache.Index.EntriesFound=0 Cache.Index.EntriesStored=0 Cache.Index.BytesSent="0 B" Cache.Index.BytesReceived="0 B" Cache.Result.Requests=0 Cache.Result.EntriesRequested=0 Cache.Result.EntriesFound=0 Cache.Result.EntriesStored=0 Cache.Result.BytesSent="0 B" Cache.Result.BytesReceived="0 B"
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier ts=2023-02-01T02:11:12.661786259Z caller=spanlogger.go:80 user=fake level=debug Summary.BytesProcessedPerSecond="0 B" Summary.LinesProcessedPerSecond=0 Summary.TotalBytesProcessed="0 B" Summary.TotalLinesProcessed=0 Summary.ExecTime=197.769µs Summary.QueueTime=0s
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier ts=2023-02-01T02:11:12.661806885Z caller=spanlogger.go:80 user=fake level=info org_id=fake latency=fast query_type=labels length=10m0s duration=197.769µs status=500 label= throughput=0B total_bytes=0B total_entries=0
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier level=warn ts=2023-02-01T02:11:12.661863835Z caller=logging.go:86 traceID=6f3a8942248c05e0 orgID=fake msg="GET /loki/api/v1/labels?end=1675217472607000000&start=1675216872607000000 (500) 443.999µs Response: \"rpc error: code = Unavailable desc = name resolver error: produced zero addresses\\n\" ws: false; X-Query-Queue-Time: 39.636µs; X-Scope-Orgid: fake; uber-trace-id: 6f3a8942248c05e0:3ea308ea05e015fd:6e943c4002fe04b7:0; "
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier ts=2023-02-01T02:11:12.665152076Z caller=spanlogger.go:80 user=fake method=query.Label level=warn msg="deprecated querier:query_timeout YAML configuration identified. Please migrate to limits:query_timeout instead." call=WrapQuerySpanAndTimeout
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier level=warn ts=2023-02-01T02:11:12.665188276Z caller=querier.go:361 msg="deprecated querier:query_timeout YAML configuration identified. Please migrate to limits:query_timeout instead." err=null call=Label
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier ts=2023-02-01T02:11:12.665274967Z caller=spanlogger.go:80 user=fake method=SeriesStore.LabelNamesForMetricName level=debug metric=logs
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier ts=2023-02-01T02:11:12.665351637Z caller=spanlogger.go:80 user=fake level=debug Ingester.TotalReached=0 Ingester.TotalChunksMatched=0 Ingester.TotalBatches=0 Ingester.TotalLinesSent=0 Ingester.TotalChunksRef=0 Ingester.TotalChunksDownloaded=0 Ingester.ChunksDownloadTime=0s Ingester.HeadChunkBytes="0 B" Ingester.HeadChunkLines=0 Ingester.DecompressedBytes="0 B" Ingester.DecompressedLines=0 Ingester.CompressedBytes="0 B" Ingester.TotalDuplicates=0 Querier.TotalChunksRef=0 Querier.TotalChunksDownloaded=0 Querier.ChunksDownloadTime=0s Querier.HeadChunkBytes="0 B" Querier.HeadChunkLines=0 Querier.DecompressedBytes="0 B" Querier.DecompressedLines=0 Querier.CompressedBytes="0 B" Querier.TotalDuplicates=0
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier ts=2023-02-01T02:11:12.665382721Z caller=spanlogger.go:80 user=fake level=debug Cache.Chunk.Requests=0 Cache.Chunk.EntriesRequested=0 Cache.Chunk.EntriesFound=0 Cache.Chunk.EntriesStored=0 Cache.Chunk.BytesSent="0 B" Cache.Chunk.BytesReceived="0 B" Cache.Index.Requests=0 Cache.Index.EntriesRequested=0 Cache.Index.EntriesFound=0 Cache.Index.EntriesStored=0 Cache.Index.BytesSent="0 B" Cache.Index.BytesReceived="0 B" Cache.Result.Requests=0 Cache.Result.EntriesRequested=0 Cache.Result.EntriesFound=0 Cache.Result.EntriesStored=0 Cache.Result.BytesSent="0 B" Cache.Result.BytesReceived="0 B"
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier ts=2023-02-01T02:11:12.665403372Z caller=spanlogger.go:80 user=fake level=debug Summary.BytesProcessedPerSecond="0 B" Summary.LinesProcessedPerSecond=0 Summary.TotalBytesProcessed="0 B" Summary.TotalLinesProcessed=0 Summary.ExecTime=158.385µs Summary.QueueTime=0s
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier ts=2023-02-01T02:11:12.66542977Z caller=spanlogger.go:80 user=fake level=info org_id=fake latency=fast query_type=labels length=10m0s duration=158.385µs status=500 label= throughput=0B total_bytes=0B total_entries=0
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier level=warn ts=2023-02-01T02:11:12.665471793Z caller=logging.go:86 traceID=6f3a8942248c05e0 orgID=fake msg="GET /loki/api/v1/labels?end=1675217472607000000&start=1675216872607000000 (500) 369.013µs Response: \"rpc error: code = Unavailable desc = name resolver error: produced zero addresses\\n\" ws: false; X-Query-Queue-Time: 30.544µs; X-Scope-Orgid: fake; uber-trace-id: 6f3a8942248c05e0:3ea308ea05e015fd:6e943c4002fe04b7:0; "
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier ts=2023-02-01T02:11:12.652836279Z caller=spanlogger.go:80 user=fake method=query.Label level=warn msg="deprecated querier:query_timeout YAML configuration identified. Please migrate to limits:query_timeout instead." call=WrapQuerySpanAndTimeout
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier level=warn ts=2023-02-01T02:11:12.65288613Z caller=querier.go:361 msg="deprecated querier:query_timeout YAML configuration identified. Please migrate to limits:query_timeout instead." err=null call=Label
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier ts=2023-02-01T02:11:12.652972891Z caller=spanlogger.go:80 user=fake method=SeriesStore.LabelNamesForMetricName level=debug metric=logs
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier ts=2023-02-01T02:11:12.653079366Z caller=spanlogger.go:80 user=fake level=debug Ingester.TotalReached=0 Ingester.TotalChunksMatched=0 Ingester.TotalBatches=0 Ingester.TotalLinesSent=0 Ingester.TotalChunksRef=0 Ingester.TotalChunksDownloaded=0 Ingester.ChunksDownloadTime=0s Ingester.HeadChunkBytes="0 B" Ingester.HeadChunkLines=0 Ingester.DecompressedBytes="0 B" Ingester.DecompressedLines=0 Ingester.CompressedBytes="0 B" Ingester.TotalDuplicates=0 Querier.TotalChunksRef=0 Querier.TotalChunksDownloaded=0 Querier.ChunksDownloadTime=0s Querier.HeadChunkBytes="0 B" Querier.HeadChunkLines=0 Querier.DecompressedBytes="0 B" Querier.DecompressedLines=0 Querier.CompressedBytes="0 B" Querier.TotalDuplicates=0
loki-loki-distributed-query-frontend-5c78d64968-6hgqg query-frontend level=error ts=2023-02-01T02:11:12.646450502Z caller=retry.go:73 org_id=fake msg="error processing request" try=0 err="rpc error: code = Code(500) desc = rpc error: code = Unavailable desc = name resolver error: produced zero addresses\n"
loki-loki-distributed-query-frontend-5c78d64968-6hgqg query-frontend level=error ts=2023-02-01T02:11:12.649343345Z caller=retry.go:73 org_id=fake msg="error processing request" try=1 err="rpc error: code = Code(500) desc = rpc error: code = Unavailable desc = name resolver error: produced zero addresses\n"
loki-loki-distributed-query-frontend-5c78d64968-6hgqg query-frontend level=error ts=2023-02-01T02:11:12.652014774Z caller=retry.go:73 org_id=fake msg="error processing request" try=2 err="rpc error: code = Code(500) desc = rpc error: code = Unavailable desc = name resolver error: produced zero addresses\n"
loki-loki-distributed-query-frontend-5c78d64968-6hgqg query-frontend level=error ts=2023-02-01T02:11:12.653303485Z caller=retry.go:73 org_id=fake msg="error processing request" try=3 err="rpc error: code = Code(500) desc = rpc error: code = Unavailable desc = name resolver error: produced zero addresses\n"
loki-loki-distributed-query-frontend-5c78d64968-6hgqg query-frontend level=error ts=2023-02-01T02:11:12.654596185Z caller=retry.go:73 org_id=fake msg="error processing request" try=4 err="rpc error: code = Code(500) desc = rpc error: code = Unavailable desc = name resolver error: produced zero addresses\n"
loki-loki-distributed-query-frontend-5c78d64968-6hgqg query-frontend level=warn ts=2023-02-01T02:11:12.65465888Z caller=logging.go:86 traceID=6f3a8942248c05e0 orgID=fake msg="GET /loki/api/v1/labels?start=1675216872607000000&end=1675217472607000000 (500) 11.171432ms Response: \"rpc error: code = Unavailable desc = name resolver error: produced zero addresses\\n\" ws: false; Accept-Encoding: gzip; User-Agent: Grafana/9.1.6; X-Forward-For: 10.236.30.21; X-Forwarded-For: 10.236.30.21; X-Forwarded-Host: loki-k8s.mos.corp; X-Forwarded-Port: 80; X-Forwarded-Proto: http; X-Forwarded-Scheme: http; X-Real-Ip: 10.236.30.21; X-Request-Id: 9e0559641ea5ce75b841be9962ada664; X-Scheme: http; "
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier ts=2023-02-01T02:11:12.653113849Z caller=spanlogger.go:80 user=fake level=debug Cache.Chunk.Requests=0 Cache.Chunk.EntriesRequested=0 Cache.Chunk.EntriesFound=0 Cache.Chunk.EntriesStored=0 Cache.Chunk.BytesSent="0 B" Cache.Chunk.BytesReceived="0 B" Cache.Index.Requests=0 Cache.Index.EntriesRequested=0 Cache.Index.EntriesFound=0 Cache.Index.EntriesStored=0 Cache.Index.BytesSent="0 B" Cache.Index.BytesReceived="0 B" Cache.Result.Requests=0 Cache.Result.EntriesRequested=0 Cache.Result.EntriesFound=0 Cache.Result.EntriesStored=0 Cache.Result.BytesSent="0 B" Cache.Result.BytesReceived="0 B"
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier ts=2023-02-01T02:11:12.653132382Z caller=spanlogger.go:80 user=fake level=debug Summary.BytesProcessedPerSecond="0 B" Summary.LinesProcessedPerSecond=0 Summary.TotalBytesProcessed="0 B" Summary.TotalLinesProcessed=0 Summary.ExecTime=189.413µs Summary.QueueTime=0s
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier ts=2023-02-01T02:11:12.653158075Z caller=spanlogger.go:80 user=fake level=info org_id=fake latency=fast query_type=labels length=10m0s duration=189.413µs status=500 label= throughput=0B total_bytes=0B total_entries=0
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier level=warn ts=2023-02-01T02:11:12.653204739Z caller=logging.go:86 traceID=6f3a8942248c05e0 orgID=fake msg="GET /loki/api/v1/labels?end=1675217472607000000&start=1675216872607000000 (500) 418.05µs Response: \"rpc error: code = Unavailable desc = name resolver error: produced zero addresses\\n\" ws: false; X-Query-Queue-Time: 55.613µs; X-Scope-Orgid: fake; uber-trace-id: 6f3a8942248c05e0:3ea308ea05e015fd:6e943c4002fe04b7:0; "
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier ts=2023-02-01T02:11:12.660911343Z caller=spanlogger.go:80 user=fake method=query.Label level=warn msg="deprecated querier:query_timeout YAML configuration identified. Please migrate to limits:query_timeout instead." call=WrapQuerySpanAndTimeout
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier level=warn ts=2023-02-01T02:11:12.660941466Z caller=querier.go:361 msg="deprecated querier:query_timeout YAML configuration identified. Please migrate to limits:query_timeout instead." err=null call=Label
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier ts=2023-02-01T02:11:12.661024292Z caller=spanlogger.go:80 user=fake method=SeriesStore.LabelNamesForMetricName level=debug metric=logs
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier ts=2023-02-01T02:11:12.661101755Z caller=spanlogger.go:80 user=fake level=debug Ingester.TotalReached=0 Ingester.TotalChunksMatched=0 Ingester.TotalBatches=0 Ingester.TotalLinesSent=0 Ingester.TotalChunksRef=0 Ingester.TotalChunksDownloaded=0 Ingester.ChunksDownloadTime=0s Ingester.HeadChunkBytes="0 B" Ingester.HeadChunkLines=0 Ingester.DecompressedBytes="0 B" Ingester.DecompressedLines=0 Ingester.CompressedBytes="0 B" Ingester.TotalDuplicates=0 Querier.TotalChunksRef=0 Querier.TotalChunksDownloaded=0 Querier.ChunksDownloadTime=0s Querier.HeadChunkBytes="0 B" Querier.HeadChunkLines=0 Querier.DecompressedBytes="0 B" Querier.DecompressedLines=0 Querier.CompressedBytes="0 B" Querier.TotalDuplicates=0
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier ts=2023-02-01T02:11:12.661132176Z caller=spanlogger.go:80 user=fake level=debug Cache.Chunk.Requests=0 Cache.Chunk.EntriesRequested=0 Cache.Chunk.EntriesFound=0 Cache.Chunk.EntriesStored=0 Cache.Chunk.BytesSent="0 B" Cache.Chunk.BytesReceived="0 B" Cache.Index.Requests=0 Cache.Index.EntriesRequested=0 Cache.Index.EntriesFound=0 Cache.Index.EntriesStored=0 Cache.Index.BytesSent="0 B" Cache.Index.BytesReceived="0 B" Cache.Result.Requests=0 Cache.Result.EntriesRequested=0 Cache.Result.EntriesFound=0 Cache.Result.EntriesStored=0 Cache.Result.BytesSent="0 B" Cache.Result.BytesReceived="0 B"
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier ts=2023-02-01T02:11:12.661151402Z caller=spanlogger.go:80 user=fake level=debug Summary.BytesProcessedPerSecond="0 B" Summary.LinesProcessedPerSecond=0 Summary.TotalBytesProcessed="0 B" Summary.TotalLinesProcessed=0 Summary.ExecTime=154.873µs Summary.QueueTime=0s
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier ts=2023-02-01T02:11:12.661175111Z caller=spanlogger.go:80 user=fake level=info org_id=fake latency=fast query_type=labels length=10m0s duration=154.873µs status=500 label= throughput=0B total_bytes=0B total_entries=0
loki-loki-distributed-querier-c7cf896c4-tzgp4 querier level=warn ts=2023-02-01T02:11:12.661215571Z caller=logging.go:86 traceID=6f3a8942248c05e0 orgID=fake msg="GET /loki/api/v1/labels?end=1675217472607000000&start=1675216872607000000 (500) 344.627µs Response: \"rpc error: code = Unavailable desc = name resolver error: produced zero addresses\\n\" ws: false; X-Query-Queue-Time: 32.026µs; X-Scope-Orgid: fake; uber-trace-id: 6f3a8942248c05e0:3ea308ea05e015fd:6e943c4002fe04b7:0; "
loki-loki-distributed-querier-c7cf896c4-g54qt querier ts=2023-02-01T02:11:12.657222718Z caller=spanlogger.go:80 user=fake method=query.Label level=warn msg="deprecated querier:query_timeout YAML configuration identified. Please migrate to limits:query_timeout instead." call=WrapQuerySpanAndTimeout
loki-loki-distributed-querier-c7cf896c4-g54qt querier level=warn ts=2023-02-01T02:11:12.657269067Z caller=querier.go:361 msg="deprecated querier:query_timeout YAML configuration identified. Please migrate to limits:query_timeout instead." err=null call=Label
loki-loki-distributed-querier-c7cf896c4-g54qt querier ts=2023-02-01T02:11:12.657366234Z caller=spanlogger.go:80 user=fake method=SeriesStore.LabelNamesForMetricName level=debug metric=logs
loki-loki-distributed-querier-c7cf896c4-g54qt querier ts=2023-02-01T02:11:12.657480968Z caller=spanlogger.go:80 user=fake level=debug Ingester.TotalReached=0 Ingester.TotalChunksMatched=0 Ingester.TotalBatches=0 Ingester.TotalLinesSent=0 Ingester.TotalChunksRef=0 Ingester.TotalChunksDownloaded=0 Ingester.ChunksDownloadTime=0s Ingester.HeadChunkBytes="0 B" Ingester.HeadChunkLines=0 Ingester.DecompressedBytes="0 B" Ingester.DecompressedLines=0 Ingester.CompressedBytes="0 B" Ingester.TotalDuplicates=0 Querier.TotalChunksRef=0 Querier.TotalChunksDownloaded=0 Querier.ChunksDownloadTime=0s Querier.HeadChunkBytes="0 B" Querier.HeadChunkLines=0 Querier.DecompressedBytes="0 B" Querier.DecompressedLines=0 Querier.CompressedBytes="0 B" Querier.TotalDuplicates=0
loki-loki-distributed-querier-c7cf896c4-g54qt querier ts=2023-02-01T02:11:12.657518639Z caller=spanlogger.go:80 user=fake level=debug Cache.Chunk.Requests=0 Cache.Chunk.EntriesRequested=0 Cache.Chunk.EntriesFound=0 Cache.Chunk.EntriesStored=0 Cache.Chunk.BytesSent="0 B" Cache.Chunk.BytesReceived="0 B" Cache.Index.Requests=0 Cache.Index.EntriesRequested=0 Cache.Index.EntriesFound=0 Cache.Index.EntriesStored=0 Cache.Index.BytesSent="0 B" Cache.Index.BytesReceived="0 B" Cache.Result.Requests=0 Cache.Result.EntriesRequested=0 Cache.Result.EntriesFound=0 Cache.Result.EntriesStored=0 Cache.Result.BytesSent="0 B" Cache.Result.BytesReceived="0 B"
loki-loki-distributed-querier-c7cf896c4-g54qt querier ts=2023-02-01T02:11:12.657541357Z caller=spanlogger.go:80 user=fake level=debug Summary.BytesProcessedPerSecond="0 B" Summary.LinesProcessedPerSecond=0 Summary.TotalBytesProcessed="0 B" Summary.TotalLinesProcessed=0 Summary.ExecTime=201.228µs Summary.QueueTime=0s
loki-loki-distributed-querier-c7cf896c4-g54qt querier ts=2023-02-01T02:11:12.657571836Z caller=spanlogger.go:80 user=fake level=info org_id=fake latency=fast query_type=labels length=10m0s duration=201.228µs status=500 label= throughput=0B total_bytes=0B total_entries=0
loki-loki-distributed-querier-c7cf896c4-g54qt querier level=warn ts=2023-02-01T02:11:12.657631305Z caller=logging.go:86 traceID=6f3a8942248c05e0 orgID=fake msg="GET /loki/api/v1/labels?end=1675217472607000000&start=1675216872607000000 (500) 457.6µs Response: \"rpc error: code = Unavailable desc = name resolver error: produced zero addresses\\n\" ws: false; X-Query-Queue-Time: 48.252µs; X-Scope-Orgid: fake; uber-trace-id: 6f3a8942248c05e0:3ea308ea05e015fd:6e943c4002fe04b7:0; "
loki-loki-distributed-query-scheduler-f6d8d7dd-2fpm6 query-scheduler level=debug ts=2023-02-01T02:11:12.718654397Z caller=logging.go:76 traceID=5c2cc5734965a2e4 orgID=fake msg="GET /ready (200) 40.772µs"
loki-loki-distributed-query-scheduler-f6d8d7dd-2fpm6 query-scheduler level=debug ts=2023-02-01T02:11:12.7186546Z caller=logging.go:76 traceID=09503adb2816b5c4 orgID=fake msg="GET /ready (200) 40.844µs"
loki-loki-distributed-querier-c7cf896c4-qdf7d querier level=debug ts=2023-02-01T02:11:13.080733022Z caller=logging.go:76 traceID=76daf41ce579feab orgID=fake msg="GET /metrics (200) 4.346942ms"
loki-loki-distributed-querier-c7cf896c4-snvj8 querier level=debug ts=2023-02-01T02:11:13.19509238Z caller=logging.go:76 traceID=4f273c80e206f4d8 orgID=fake msg="GET /ready (200) 55.569µs"
loki-loki-distributed-querier-c7cf896c4-snvj8 querier level=debug ts=2023-02-01T02:11:13.195120513Z caller=logging.go:76 traceID=7deb494367fc3963 orgID=fake msg="GET /ready (200) 46.242µs"
loki-loki-distributed-querier-c7cf896c4-v2px9 querier level=debug ts=2023-02-01T02:11:13.526619717Z caller=logging.go:76 traceID=697085d001219976 orgID=fake msg="GET /ready (200) 48.644µs"
loki-loki-distributed-querier-c7cf896c4-v2px9 querier level=debug ts=2023-02-01T02:11:13.526701317Z caller=logging.go:76 traceID=79a43900ae4b0d57 orgID=fake msg="GET /ready (200) 43.025µs"
loki-loki-distributed-querier-c7cf896c4-qdf7d querier level=debug ts=2023-02-01T02:11:14.00756914Z caller=logging.go:76 traceID=2145ac162d71e484 orgID=fake msg="GET /ready (200) 56.547µs"
loki-loki-distributed-querier-c7cf896c4-vgmj7 querier level=debug ts=2023-02-01T02:11:14.373540641Z caller=logging.go:76 traceID=4d01115f5e34da81 orgID=fake msg="GET /ready (200) 57.324µs"
loki-loki-distributed-querier-c7cf896c4-qdf7d querier ts=2023-02-01T02:11:15.333116118Z caller=memberlist_logger.go:74 level=debug msg="Initiating push/pull sync with: loki-loki-distributed-compactor-5846db8f7d-75pcn-1098edcd 10.236.164.29:7946"
Hey, thanks for your report.
This is probably an environment problem and not exactly a Loki problem, but anyway, a few suggestions:
instance_addr: 127.0.0.1
to your common
Loki sectionI would like to report I face the exact same issue after switching to tsdb.
I used version 0.69.6 of the loki-distributed helm chart to deploy Loki and switched from boltdb-shipper to tsdb in the config. Log ingestion works fine and there are no errors in the ingestors. However, when i try to query logs that were ingested using tsdb-shipper the qurier returns a
msg="error processing request" try=0 err="rpc error: code = Code(500) desc = rpc error: code = Unavailable desc = name resolver error: produced zero addresses\n"
However, when i query historical logs that were ingested using boltdb-shipper, the querier works just fine and doesn't throw any errors.
Do let me know if i can provide you with any further details that might help with the investigation.
@Anindya-Banerjee Make sure to use dns://loki-index-gateway:9095
as the index_gateway_client.server_address under tsdb_shipper. Or if your service name is different for index-gateway, use that. You can check it by running kubectl get svc -n <loki-namespace> | grep index-gateway
Describe the bug
To Reproduce Steps to reproduce the behavior:
{} term
??Expected behavior Connect and work loki datasource in grafana
Environment:
Loki config