You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"caller": "client.go:133",
"err": "ValidationError: The value for parameter MetricDataQueries.member.12.MetricStat.Stat is not a valid statistic.\nThe value for parameter MetricDataQueries.member.14.MetricStat.Stat is not a valid statistic.\nThe value for parameter MetricDataQueries.member.16.MetricStat.Stat is not a valid statistic.\nThe value for parameter MetricDataQueries.member.18.MetricStat.Stat is not a valid statistic.\nThe value for parameter MetricDataQueries.member.20.MetricStat.Stat is not a valid statistic.\nThe value for parameter MetricDataQueries.member.22.MetricStat.Stat is not a valid statistic.\nThe value for parameter MetricDataQueries.member.24.MetricStat.Stat is not a valid statistic.\nThe value for parameter MetricDataQueries.member.26.MetricStat.Stat is not a valid statistic.\nThe value for parameter MetricDataQueries.member.28.MetricStat.Stat is not a valid statistic.\nThe value for parameter MetricDataQueries.member.30.MetricStat.Stat is not a valid statistic.\n\tstatus code: 400, request id: xxxx",
"level": "error",
"msg": "GetMetricData error",
"ts": "2024-08-02T14:15:03.480049065Z",
"version": "v0.61.2"
}
Expected Behavior
Metrics retrieved as expected.
Steps To Reproduce
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered:
mthemis-provenir
changed the title
[BUG] Attempting to retrieve AWS/ApplicationELB causes errors
[BUG] Attempting to retrieve AWS/ApplicationELB metrics causes errors
Aug 2, 2024
The errors you are receiving are directly from CloudWatch APIs due to the use of pNN.NN for TargetResponseTime. The docs you are referencing indicate percentile statistics are the most useful and indicate you can use any percentile you wish. You need to define the percentiles according to CloudWatch which would be in the form of p99.99, p95, etc. You can see more examples in the AWS docs for statistics, https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/US_SingleMetricPerInstance.html, step 6 shows examples and explains it.
Is there an existing issue for this?
YACE version
v0.61.2
Config file
Current Behavior
This error is generated. The metric names and statistics are valid as per https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-cloudwatch-metrics.html.
Expected Behavior
Metrics retrieved as expected.
Steps To Reproduce
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: