Grafana: Get Datasources
Availability
This workflow action is available on our Business and Enterprise for Incident Management pricing plans. Please contact our Sales Team to upgrade to an account with this action.
Description
This action retrieves a list of all datasources configured in your Grafana instance. This action is useful for discovering available datasources, validating Grafana configurations, and dynamically selecting datasources for subsequent workflow actions.
Instructions
- If you have not done so already, please follow our instructions to Create an Incident Workflow.
- When the instructions prompt you to add actions , select this action.
- Enter the following Inputs and then click Save. Continue following instructions to Publish the Workflow. When the action runs, you will see the Outputs listed below.
Inputs
Field References
Fields with the {+} icon accept Field References, which can be useful for referencing incident data or outputs created in prior workflow steps. To add Field References, click {+}, or enter
{{, and select relevant fields. Please see our Field References article for more information.
| Name | Description |
|---|---|
| Connection Input | Select a Grafana integration from the dropdown list. If you have not yet configured a Grafana integration, please see Grafana Integration for instructions. |
Outputs
| Name | Description |
|---|---|
| Datasources | Array of all datasources configured in Grafana. |
| Datasource Count | Total number of datasources found. |
| Result | Value that shows if the action was successful or not. Either "Success" or "Failed." |
| Result Summary | Brief description of what the action did or if it failed. |
| Error | Brief description that is populated if the action failed. |
Updated about 4 hours ago
