Grafana · Arazzo Workflow
Grafana Provision a Data Source
Version 1.0.0
Create a data source, read it back by UID, and confirm Grafana can reach it.
View Spec
View on GitHub
AlertingAnalyticsDashboardsLogsMetricsMonitoringObservabilityTracesVisualizationArazzoWorkflows
Provider
Workflows
provision-datasource
Create a Grafana data source and verify it is healthy.
Registers a new data source in the current organization, confirms it exists by reading it back with its UID, and asks Grafana to test the connection.
1
createDataSource
addDataSource
Register the data source with the current organization. Grafana assigns an id and, when no UID is supplied, generates one.
2
readBackDataSource
getDataSourceByUID
Read the data source back by UID to confirm it persisted and to capture the settings Grafana actually stored, which is what dashboards will reference.
3
checkHealth
checkDatasourceHealthWithUID
Ask Grafana to test the connection to the data source backend. This is the same check the Save & Test button runs in the UI, and it is what turns a silent misconfiguration into a failed pipeline step.