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

fix: region and account not being set in certain monitoring metrics #614

Closed
wants to merge 3 commits into from

Conversation

umardab-amzn
Copy link
Contributor

Fixes global default region and account not being set in certain monitoring metrics by adding them in the adaptMetric function

Tests pass


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

cdklabs-automation and others added 3 commits December 18, 2024 14:42
Upgrades project dependencies. See details in [workflow run].

[Workflow Run]: https://github.com/cdklabs/cdk-monitoring-constructs/actions/runs/12226655446

------

*Automatically created by projen via the "upgrade-main" workflow*
The adaptMetric function does not take the globalDefault account or region into account only the period
This change checks whether there is a global default for either and if so adds it into the metric

[Testing]
All test cases pass, validated that global default is passed into cloud formation template and dashboard

[Reviewers]:
Maintainer: userid

[Code Review]:
@umardab-amzn umardab-amzn changed the title Fix region and account not being set in certain monitoring metrics Fix: region and account not being set in certain monitoring metrics Dec 18, 2024
@umardab-amzn umardab-amzn changed the title Fix: region and account not being set in certain monitoring metrics fix: region and account not being set in certain monitoring metrics Dec 18, 2024
@umardab-amzn umardab-amzn deleted the fix-adaptMetric branch December 18, 2024 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants