Documentation on the Loki *datasource* API? The one used for querying through Grafana datasource querying API

I’ve found documentation on querying Grafana datasources:

And I’ve found documentation on the Loki API:

But it only describes the API of Loki itself, not “how to query it via Grafana” - and the format seems to be vastly different from both Loki API and other types of datasources.

Is there documentation about querying a Loki datasource via Grafana datasource querying API? I’ve figured out little bits via reverse engineering and extremely scarce Google results, but I still have a lot of questions. For example, the logs I’m getting are unordered but paginated, and I don’t know how to request the next page, or to get them ordered by time.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.