Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support to region Metric from CloudWatch Dashboard #5449

Closed
gc23 opened this issue Dec 17, 2019 · 0 comments
Closed

Add support to region Metric from CloudWatch Dashboard #5449

gc23 opened this issue Dec 17, 2019 · 0 comments
Assignees
Labels
@aws-cdk/aws-cloudwatch Related to Amazon CloudWatch feature-request A feature should be added or improved. in-progress This issue is being actively worked on. needs-triage This issue or PR still needs to be triaged.

Comments

@gc23
Copy link

gc23 commented Dec 17, 2019

The metric class is missing the region parameter. This is required for metrics around lambda@edge which are deployed in different locations.

The following is an example of the graph widget produced by the AWS console.

{
    "view": "timeSeries",
    "region": "eu-west-1",
    "stacked": false,
    "metrics": [
        [ "AWS/Lambda", "Invocations", "FunctionName", "us-east-1.FunctionName", "Resource", "us-east-1.FunctionName:1", { "yAxis": "left", "period": 300, "stat": "Sum" } ],
        [ "...", { "yAxis": "left", "period": 300, "stat": "Sum", "region": "eu-west-2" } ],
        [ "...", { "yAxis": "left", "period": 300, "stat": "Sum", "region": "eu-central-1" } ]
    ],
    "period": 300
}
@gc23 gc23 added feature-request A feature should be added or improved. needs-triage This issue or PR still needs to be triaged. labels Dec 17, 2019
gc23 pushed a commit to gc23/aws-cdk that referenced this issue Dec 17, 2019
@SomayaB SomayaB added in-progress This issue is being actively worked on. @aws-cdk/aws-cloudwatch Related to Amazon CloudWatch labels Dec 17, 2019
gc23 pushed a commit to gc23/aws-cdk that referenced this issue Dec 19, 2019
gc23 pushed a commit to gc23/aws-cdk that referenced this issue Dec 20, 2019
@rix0rrr rix0rrr closed this as completed in a7f189e Jan 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-cloudwatch Related to Amazon CloudWatch feature-request A feature should be added or improved. in-progress This issue is being actively worked on. needs-triage This issue or PR still needs to be triaged.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants