Alerting: Migrate Alertmanager notifier (#34304)

* Alerting: Port Alertmanager notifier to v8

Signed-off-by: Arve Knudsen <arve.knudsen@gmail.com>
This commit is contained in:
Arve Knudsen
2021-05-19 15:27:41 +02:00
committed by GitHub
parent 5a449d5963
commit 9dfaa037d1
6 changed files with 326 additions and 0 deletions

View File

@@ -801,6 +801,31 @@ var expAvailableChannelJsonOutput = `
"secure": false
}
]
},
{
"type": "alertmanager",
"name": "Alertmanager",
"heading": "Alertmanager Settings",
"description": "Sends notifications to Alertmanager",
"info": "",
"options": [
{
"element": "input",
"inputType": "text",
"label": "URL",
"description": "",
"placeholder": "http://localhost:9093",
"propertyName": "url",
"selectOptions": null,
"showWhen": {
"field": "",
"is": ""
},
"required": true,
"validationRule": "",
"secure": false
}
]
}
]
`