(cherry picked from commit 24af3593a2)
This commit is contained in:
@@ -18,6 +18,7 @@ const (
|
|||||||
DS_ACCESS_DIRECT = "direct"
|
DS_ACCESS_DIRECT = "direct"
|
||||||
DS_ACCESS_PROXY = "proxy"
|
DS_ACCESS_PROXY = "proxy"
|
||||||
DS_ES_OPEN_DISTRO = "grafana-es-open-distro-datasource"
|
DS_ES_OPEN_DISTRO = "grafana-es-open-distro-datasource"
|
||||||
|
DS_ES_OPENSEARCH = "grafana-opensearch-datasource"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
|||||||
@@ -282,7 +282,7 @@ func ClearDSDecryptionCache() {
|
|||||||
|
|
||||||
func awsServiceNamespace(dsType string) string {
|
func awsServiceNamespace(dsType string) string {
|
||||||
switch dsType {
|
switch dsType {
|
||||||
case DS_ES, DS_ES_OPEN_DISTRO:
|
case DS_ES, DS_ES_OPEN_DISTRO, DS_ES_OPENSEARCH:
|
||||||
return "es"
|
return "es"
|
||||||
case DS_PROMETHEUS:
|
case DS_PROMETHEUS:
|
||||||
return "aps"
|
return "aps"
|
||||||
|
|||||||
Reference in New Issue
Block a user