Grafana · Arazzo Workflow
Grafana Query a Data Source Through Grafana
Version 1.0.0
Resolve a data source by name, then run a time-range query against it via Grafana's query endpoint.
View Spec
View on GitHub
AlertingAnalyticsDashboardsLogsMetricsMonitoringObservabilityTracesVisualizationArazzoWorkflows
Provider
Workflows
query-datasource
Run a query against a named Grafana data source over a relative time range.
Looks the data source up by name to get its UID and type, then submits a query for the requested time range through Grafana's shared query endpoint.
1
resolveDataSource
getDataSourceByName
Resolve the data source by name. The query endpoint addresses sources by UID, and UIDs differ between instances while names usually do not, so resolving here keeps the workflow portable across dev and prod.
2
runQuery
queryMetricsWithExpressions
Submit the query through Grafana, which proxies it to the data source using the credentials it already holds. The caller never sees or handles the backend's credentials.