Granfa 9.4.7 and Loki 2.7.3
I found that the results of the query in the Explore section and the query directly using the Loki http API are inconsistent.
I noticed in the Explore section, when I select the label and add additional filters to query the log stored by loki, the actual request executed is api/ds/query, and the datasource type is loki.
While the query http APIs exposed by loki are /loki/api/v1/query and /loki/api/v1/query_range, I wonder if grafana is calling loki’s http api directly? Is there additional processing?
Do you guys have any good suggestions?