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:
committed by
GitHub
parent
ee8a864615
commit
68b05b8aaa
@@ -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>"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user