query-datasource
Run instant or range queries against any Grafana datasource by providing datasource UID and query objects.
Instructions
Run an instant or range query against a datasource using Grafana's ds/query endpoint.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | End of time range | now |
| from | No | Start of time range, e.g. 'now-1h' or epoch ms | now-1h |
| queries | Yes | Array of query objects (datasource-specific format) | |
| datasourceUid | Yes | UID of the datasource to query |