AlertingNG: Unified alerting API mock (#32040)

* AlertingNG: Alertmanager mock API

* AlertingNG: Remove permissions API routes

* Add example POST payloads

* Prometheus and testing mock API
This commit is contained in:
Sofia Papagiannaki
2021-03-17 12:47:03 +02:00
committed by GitHub
parent ee8a864615
commit 68b05b8aaa
14 changed files with 1525 additions and 59 deletions
@@ -0,0 +1,22 @@
{
"grafana_managed_receiver": {
"uid": "alertmanager UID",
"name": "an alert manager receiver",
"type": "prometheus-alertmanager",
"isDefault": false,
"sendReminder": false,
"disableResolveMessage": false,
"frequency": "5m",
"settings": {
"autoResolve": true,
"basicAuthUser": "user",
"httpMethod": "POST",
"severity": "critical",
"uploadImage": false,
"url": "http://localhost:9093"
},
"secureSettings": {
"basicAuthPassword": "<basicAuthPassword>"
}
}
}