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

feat(ecs-patterns): allow imported IBaseService #471

Merged
merged 2 commits into from
Jan 2, 2024

Conversation

echeung-amzn
Copy link
Member

The existing logic to get metrics on BaseService is pretty simple and can probably be lifted up to IBaseService upstream (similar to the change for load balancers), but I don't have bandwidth to tackle that right now.


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

})
return this.metricFactory.createMetric(
"CPUUtilization",
MetricStatistic.AVERAGE,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did the metricFactory used to adapt this metric to Average stats before? If not, then would it be a breaking change in regards to the default stats of this metric?

Copy link
Member Author

@echeung-amzn echeung-amzn Jan 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's just a regular Metric (code ref), which defaults to Average (code ref).

So this is the same thing.

@mergify mergify bot merged commit 3acfd0f into cdklabs:main Jan 2, 2024
11 checks passed
@echeung-amzn echeung-amzn deleted the ibaseservice branch January 16, 2024 15:40
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