grafana/pkg/services/query
Jesse Weaver 0371884cdd
Start of dashboard query API (#49547)
This PR adds endpoints for public dashboards to retrieve data from the backend (trusted) query engine. It works by executing queries defined on the backend without any user input and does not support template variables.

* Public dashboard query API
* Create new API on service for building metric request
* Flesh out testing, implement BuildPublicDashboardMetricRequest
* Test for errors and missing panels
* Refactor tests, add supporting code for multiple datasources
* Handle queries from multiple datasources
* Explicitly pass no user for querying public dashboard

Co-authored-by: Jeff Levin <jeff@levinology.com>
2022-06-13 15:23:56 -08:00
..
errors.go Live: support query execution with live RPC (#43118) 2021-12-14 18:38:20 +01:00
query_test.go Datasource: Fix allowed cookies to be forwarded as header to backend datasources (#49541) 2022-05-31 17:02:58 +02:00
query.go Start of dashboard query API (#49547) 2022-06-13 15:23:56 -08:00