grafana/pkg/tsdb/cloudwatch/get_metric_data_error_codes.go
Gabriel Santos b5bacce819
CloudWatch: Handle new error codes for MetricInsights (#47033)
* CloudWatch: Handle new error codes for MetricInsights

* Changes/test to support case where only the first GetMetricDataOutput returns errors and refactoring

* Fix Potential file inclusion via variable

* Fix gosec 304 by assigning a new variable

* fix goimports issue
2022-04-04 15:44:19 +02:00

9 lines
254 B
Go

package cloudwatch
const (
maxMetricsExceeded = "MaxMetricsExceeded"
maxQueryTimeRangeExceeded = "MaxQueryTimeRangeExceeded"
maxQueryResultsExceeded = "MaxQueryResultsExceeded"
maxMatchingResultsExceeded = "MaxMatchingResultsExceeded"
)