Alertmanager: Adding SigV4 Authentication to Alertmanager Datasource (#49718)

* adding sigv4 alertmanager

* adding sigv4 alertmanager

* ConfigEditor: Adding Render Prop
This commit is contained in:
Kevin Lewin
2022-06-14 04:15:21 -04:00
committed by GitHub
parent fcf6b29987
commit 5aab95885f
2 changed files with 8 additions and 2 deletions

View File

@@ -565,7 +565,7 @@ func awsServiceNamespace(dsType string) string {
switch dsType {
case models.DS_ES, models.DS_ES_OPEN_DISTRO, models.DS_ES_OPENSEARCH:
return "es"
case models.DS_PROMETHEUS:
case models.DS_PROMETHEUS, models.DS_ALERTMANAGER:
return "aps"
default:
panic(fmt.Sprintf("Unsupported datasource %q", dsType))