mirror of
https://github.com/grafana/grafana.git
synced 2025-02-15 01:53:33 -06:00
Plugins: Add Open Distro to the list of data sources supported by sigv4 (#30308)
This commit is contained in:
parent
3d41267fc4
commit
d6b468187e
@ -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 (
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user