mirror of
https://github.com/grafana/grafana.git
synced 2026-08-11 05:34:53 -05:00
Plugins: Add Open Distro to the list of data sources supported by sigv4 (#30308)
This commit is contained in:
@@ -27,6 +27,7 @@ const (
|
||||
DS_CLOUD_MONITORING = "stackdriver"
|
||||
DS_AZURE_MONITOR = "grafana-azure-monitor-datasource"
|
||||
DS_LOKI = "loki"
|
||||
DS_ES_OPEN_DISTRO = "grafana-es-open-distro-datasource"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
+1
-1
@@ -148,7 +148,7 @@ func replaceBody(req *http.Request) ([]byte, error) {
|
||||
|
||||
func awsServiceNamespace(dsType string) string {
|
||||
switch dsType {
|
||||
case DS_ES:
|
||||
case DS_ES, DS_ES_OPEN_DISTRO:
|
||||
return "es"
|
||||
case DS_PROMETHEUS:
|
||||
return "aps"
|
||||
|
||||
Reference in New Issue
Block a user