I have installed Grafana in Kubernetes. I am trying to do everything automaticaly by scripts. I am able to intall grafana, import datasouce and dashobards. But i would like to also add a Notification channel to slack BUT not in web UI but somewhere in the config. It there any possibiluty to do that?
Jakub
I added nofitication channel with curl (API) to grafana.
The easiest way for now to use Grafana API:
POST /api/alert-notifications
{
"name": "new alert notification", //Required
"type": "email", //Required
"isDefault": false,
"sendReminder": false,
"settings": {
"addresses": "carl@grafana.com;dev@grafana.com"
}
}
Docs http://docs.grafana.org/http_api/alerting/#get-alert-notifications