Supported Providers
Grafana OnCall Provider
Grafana Oncall Provider is a class that allows to ingest data to the Grafana OnCall.
Inputs
- title (required): The title of the alert
- message: The alert description
- alert_uid: Grouping ID which will be used on the OnCall side
- image_url: Image URL
- state: Either “alerting” or “resolved”
- link_to_upstream_details: Link assigned to the alert
Outputs
Grafana Oncall Provider does not currently support the query
function.
Authentication Parameters
The Grafana Oncall Provider uses API token authentication. You need to provide the following authentication parameters to connect to Grafana OnCall:
- token (required): Your Grafana OnCall API Token.
- host (required): The URL of your Grafana OnCall host (e.g., https://oncall-prod-us-central-0.grafana.net/oncall/ or http://localhost:8000/) please note that in the Grafana Сloud, oncall’s API is under
../oncall/
Connecting with the Provider
To connect to Grafana OnCall, you need to create an API Token:
- Log in to your Grafana account.
- Go To “Alerts & IRM” -> OnCall.
- Go to the Settings page.
- Click the Create button and provide a name for your token.
- Copy the token value and keep it secure.
- Add the token value to the
authentication
section in the Grafana Oncall Provider configuration.
Notes
- This provider allows you to interact with Grafana OnCall to create alerts.
- Keep will create “Webhook” type integration called “Keep Integration” inside Grafana OnCall.
Payload example: