grafana/pkg/components/simplejson
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
..
simplejson_go11.go Chore: update all +build statements (#38782) 2021-09-01 17:38:56 +03:00
simplejson_test.go Start of dashboard query API (#49547) 2022-06-13 15:23:56 -08:00
simplejson.go Start of dashboard query API (#49547) 2022-06-13 15:23:56 -08:00