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: Add scope monitoring with aspects #34

Merged
merged 6 commits into from
Mar 5, 2022
Merged

feat: Add scope monitoring with aspects #34

merged 6 commits into from
Mar 5, 2022

Conversation

ayush987goyal
Copy link
Member

@ayush987goyal ayush987goyal commented Mar 2, 2022

Ref: https://github.com/cdklabs/cdk-watchful/blob/main/src/aspect.ts

The concept of MyMonitoringOptions for every monitoring is needed because Omit is not supported by JSII. Please refer this issue and the comment on the linked PR for the way to handle that.
aws/jsii#1707

Opened an issue to add aspects for other left-out resources: #41

Signed-off-by: github-actions <[email protected]>
Copy link
Member

@echeung-amzn echeung-amzn left a comment

Choose a reason for hiding this comment

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

This seems technically okay, but it also seems like it'd be unwieldy to update as more things are added.

lib/facade/MonitoringAspect.ts Outdated Show resolved Hide resolved
lib/facade/MonitoringAspect.ts Outdated Show resolved Hide resolved
lib/facade/MonitoringAspect.ts Outdated Show resolved Hide resolved
test/facade/MonitoringAspect.test.ts Outdated Show resolved Hide resolved
@ayush987goyal ayush987goyal requested review from echeung-amzn and voho and removed request for voho March 4, 2022 07:24
lib/facade/MonitoringFacade.ts Show resolved Hide resolved
lib/facade/aspect-types.ts Outdated Show resolved Hide resolved
@ayush987goyal ayush987goyal marked this pull request as ready for review March 5, 2022 06:09
@mergify mergify bot merged commit b514e71 into main Mar 5, 2022
@mergify mergify bot deleted the pr/ayush-aspects branch March 5, 2022 06:16
ayush987goyal added a commit that referenced this pull request Mar 5, 2022
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.

3 participants