monitoringartist / grafana-aws-cloudwatch-dashboards

:cloud: 40+ Grafana dashboards for AWS CloudWatch metrics: EC2, Lambda, S3, ELB, EMR, EBS, SNS, SES, SQS, RDS, EFS, ElastiCache, Billing, API Gateway, VPN, Step Functions, Route 53, CodeBuild, ...
https://grafana.com/orgs/monitoringartist/dashboards
GNU General Public License v3.0
2.05k stars 790 forks source link

aws auto scaling dashboard issue #125

Closed contact2rames closed 1 year ago

contact2rames commented 1 year ago

Hello, I have imported dashboard 617 in to grafana , it is giving errors. Could you please help me?

https://github.com/monitoringartist/grafana-aws-cloudwatch-dashboards/tree/master/aws-autoscaling

Errors: Object status:400 statusText:"Bad Request" data:Object results:Object config:Object method:"POST" url:"api/ds/query" data:Object headers:Object retry:0 hideFromInspector:false message:"metric request error: \"InvalidParameter: 8 validation error(s) found.\n- minimum field size of 1, GetMetricDataInput.MetricDataQueries[0].MetricStat.Metric.Dimensions[0].Value.\n- minimum field size of 1, GetMetricDataInput.MetricDataQueries[1].MetricStat.Metric.Dimensions[0].Value.\n- minimum field size of 1, GetMetricDataInput.MetricDataQueries[2].MetricStat.Metric.Dimensions[0].Value.\n- minimum field size of 1, GetMetricDataInput.MetricDataQueries[3].MetricStat.Metric.Dimensions[0].Value.\n- minimum field size of 1, GetMetricDataInput.MetricDataQueries[4].MetricStat.Metric.Dimensions[0].Value.\n- minimum field size of 1, GetMetricDataInput.MetricDataQueries[5].MetricStat.Metric.Dimensions[0].Value.\n- minimum field size of 1, GetMetricDataInput.MetricDataQueries[6].MetricStat.Metric.Dimensions[0].Value.\n- minimum field size of 1, GetMetricDataInput.MetricDataQueries[7].MetricStat.Metric.Dimensions[0].Value.\n\"" AWSAutoScaling_Dashboard_Error

Screenshot attached for reference.

jangaraj commented 1 year ago

See README:

Please set your dashboard variables (Region, ...) after dashboard import. Empty dashboard variables are reason of initial "Unable to call AWS API" or "Metric request error" error.

contact2rames commented 1 year ago

Thanks for quick response Jan Garaj.

I already have variables set for region,datasource. Still i am seeing issue.

[image: image.png] Thanks Ramesh

On Tue, 25 Jul 2023 at 20:11, Jan Garaj @.***> wrote:

See README:

Please set your dashboard variables (Region, ...) after dashboard import. Empty dashboard variables are reason of initial "Unable to call AWS API" or "Metric request error" error.

— Reply to this email directly, view it on GitHub https://github.com/monitoringartist/grafana-aws-cloudwatch-dashboards/issues/125#issuecomment-1649976187, or unsubscribe https://github.com/notifications/unsubscribe-auth/A442KG5J4L2PE2AGZI5DWOTXR7LJBANCNFSM6AAAAAA2XFU7CQ . You are receiving this because you authored the thread.Message ID: <monitoringartist/grafana-aws-cloudwatch-dashboards/issues/125/1649976187@ github.com>

jangaraj commented 1 year ago

That looks like a problem with your Grafana/CloudWatch config. Unfortunately, that Grafana/CloudWatch config is out of the scope for this repo.