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-api-gateway: Improve $stage variable query #39

Closed franciscocpg closed 6 years ago

franciscocpg commented 6 years ago

Improves the $stage query by listing only existing stages in the selected $apiname.

jangaraj commented 6 years ago

Thank you, Francisco.

dariagrudzien commented 3 years ago

@franciscocpg @jangaraj Does this dashboard still work correctly for you? When I imported it, I saw these two errors:

Screen Shot 2021-05-21 at 20 08 30

I'm wondering whether it's caused by the issue with the dashboard, or some missing IAM policies. I've just added this statement to the policy used for Grafana (in addition to all statements for CloudWatch metrics):

            "Effect": "Allow",
            "Action": [
                "apigateway:GET"
            ],
            "Resource": "*"

But the error persists.

jangaraj commented 3 years ago

@dariagrudzien 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.

Readme also contains IAM policy. You really don't need any apigateway permission, you need cloudwatch permissions.

dariagrudzien commented 3 years ago

@jangaraj Thank you for the confirmation 👍