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 S3, SQS and SNS Metric request error #33

Closed endejoli closed 6 years ago

endejoli commented 6 years ago

I am getting Error while accessing S3, SQS and SNS dashboards

S3 Error

t=2018-03-28T11:47:18+0000 lvl=eror msg="Metric request error" logger=context userId=1 orgId=1 uname=admin error="InvalidParameter: 1 validation error(s) found.\n- minimum field size of 1, GetMetricStatisticsInput.Dimensions[0].Value.\n"
t=2018-03-28T11:47:18+0000 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=POST path=/api/tsdb/query status=500 remote_addr=72.65.252.13 time_ms=1 size=34 referer="https://grafana.abc.com/d/L7Bq38kik/aws-s3?orgId=1"

SQS Error

t=2018-03-28T11:49:42+0000 lvl=eror msg="Metric request error" logger=context userId=1 orgId=1 uname=admin error="InvalidParameter: 1 validation error(s) found.\n- minimum field size of 1, GetMetricStatisticsInput.Dimensions[0].Value.\n"
t=2018-03-28T11:49:42+0000 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=POST path=/api/tsdb/query status=500 remote_addr=72.65.252.13 time_ms=1 size=34 referer="https://grafana-bird.abc.com/d/42uK3Uziz/aws-sqs?orgId=1"

SNS Error

t=2018-03-28T11:50:53+0000 lvl=eror msg="Metric request error" logger=context userId=1 orgId=1 uname=admin error="InvalidParameter: 1 validation error(s) found.\n- minimum field size of 1, GetMetricStatisticsInput.Dimensions[0].Value.\n"
t=2018-03-28T11:50:53+0000 lvl=eror msg="Request Completed" logger=context userId=1 orgId=1 uname=admin method=POST path=/api/tsdb/query status=500 remote_addr=72.65.252.13 time_ms=5 size=34 referer=https://grafana.abc.com/d/iR9W6Uzmz/aws-sns

Grafana version : Grafana v5.0.3

jangaraj commented 6 years ago
InvalidParameter: 1 validation error(s) found.\n- minimum field size of 1, GetMetricStatisticsInput.Dimensions[0].Value.\n

Did you select correct template variable values?

endejoli commented 6 years ago

Yes I did select the variables values

jangaraj commented 6 years ago

You have values for that S3 bucket. Just use wider time period and you will see also graph. S3 metrics are not reported very often.

endejoli commented 6 years ago

yeah, agree with S3 but I am getting the same with SQS as well.. some of my queues are having active messages but still, I was getting metric request error :(... Thanks for the response though.

jangaraj commented 6 years ago

Each dashboard has a link to official doc. Check doc, maybe some additional dimension(s) is required for your metrics.

jangaraj commented 6 years ago

Closing. No debug info.