The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
grafana/pkg/tsdb/cloudwatch/constants/metrics.go

57 lines
1.6 KiB

package constants
import "github.com/grafana/grafana-aws-sdk/pkg/cloudWatchConsts"
// NamespaceMetricsMap is a map of Cloudwatch namespaces to their metrics
// Deprecated: use cloudWatchConsts.NamespaceMetricsMap from grafana-aws-sdk instead
var NamespaceMetricsMap = cloudWatchConsts.NamespaceMetricsMap
// NamespaceDimensionKeysMap is a map of CloudWatch namespaces to their dimension keys
// Deprecated: use cloudWatchConsts.NamespaceDimensionKeysMap from grafana-aws-sdk instead
var NamespaceDimensionKeysMap = cloudWatchConsts.NamespaceDimensionKeysMap
type RegionsSet map[string]struct{}
func Regions() RegionsSet {
return RegionsSet{
"af-south-1": {},
"ap-east-1": {},
"ap-east-2": {},
"ap-northeast-1": {},
"ap-northeast-2": {},
"ap-northeast-3": {},
"ap-south-1": {},
"ap-south-2": {},
"ap-southeast-1": {},
"ap-southeast-2": {},
"ap-southeast-3": {},
"ap-southeast-4": {},
"ap-southeast-5": {},
"ap-southeast-7": {},
"ca-central-1": {},
"ca-west-1": {},
"cn-north-1": {},
"cn-northwest-1": {},
"eu-central-1": {},
"eu-central-2": {},
"eu-north-1": {},
"eu-south-1": {},
"eu-south-2": {},
"eu-west-1": {},
"eu-west-2": {},
"eu-west-3": {},
"il-central-1": {},
"me-central-1": {},
"me-south-1": {},
"mx-central-1": {},
"sa-east-1": {},
"us-east-1": {},
"us-east-2": {},
"us-gov-east-1": {},
"us-gov-west-1": {},
"us-iso-east-1": {},
"us-isob-east-1": {},
"us-west-1": {},
"us-west-2": {},
}
}