Grafana
Last updated
Last updated
In your Grafana instance, click the configuration icon in the left navigation (it is the settings cog icon).
In the list of tabs - click API key.
Add an API key with the role and time you live you wish for your unSkript connection.
Generate the key, and copy the value. Add this to the Credential window in unSkript.
Follow the steps explained https://grafana.com/docs/grafana-cloud/reference/create-api-key/
Your Grafana alerts can be used to start RunBooks or Workflows. This requires a webhook listener in your unSkript installation. These instructions assume you have already created a credential into your Grafana instance.
In your unSkript installation, click *Proxies* from the top menu.
Find the Environment where your Grafana credential is stored, and open this proxy.
In your list of credentials, find your Grafana credential:
In the "webhook URL" column, Click the Generate button.
Copy your url/Username and password. These will be available on this page if you need them again.
Use the webhook details to create a Grafana Alarm.
Name | Description |
---|---|
Name
This credential will be listed using the name you provide
API Token
API token to connect to Grafana. This can be generated in the grafana dashboard under Configuration->API Keys
Hostname
The hostname along with port number. Eg: http://localhost:3000