Log when a query is received. #6849
Labels
operational/stability
operational
Used internally by Grafana Labs to help organize, added to tasks we put in our on-call workqueue.
Is your feature request related to a problem? Please describe.
There are several places in Loki where we log the outcome of a query, however there are several cases where a query may never finish and no log output is created (one example may be an OOM crash of a querier).
Describe the solution you'd like
Similar to how we do the
push request parsed
line for writes:loki/pkg/loghttp/push/push.go
Lines 150 to 162 in 79f0e34
I think we should have something similar for queries, as soon as Loki receives the query we should log information about it.
The text was updated successfully, but these errors were encountered: