Skip to content

feat(logs): add QueryDefinition L2 Construct#18655

Merged
mergify[bot] merged 10 commits intoaws:masterfrom
jerry-shao:jerry-shao/logs-query-definition
Apr 20, 2022
Merged

feat(logs): add QueryDefinition L2 Construct#18655
mergify[bot] merged 10 commits intoaws:masterfrom
jerry-shao:jerry-shao/logs-query-definition

Conversation

@jerry-shao
Copy link
Copy Markdown
Member

This PR implemented the [feature request] (aws-cloudwatch): Saved queries. It will let users be able to create CloudWatch Logs Insights QueryDefinition by using L2 construct.


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

@gitpod-io
Copy link
Copy Markdown

gitpod-io bot commented Jan 25, 2022

@github-actions github-actions bot added the @aws-cdk/aws-logs Related to Amazon CloudWatch Logs label Jan 25, 2022
@jerry-shao jerry-shao mentioned this pull request Jan 25, 2022
2 tasks
@jerry-shao
Copy link
Copy Markdown
Member Author

Hi @comcalvi and @madeline-k

Any suggested reviewer for this PR?

@comcalvi
Copy link
Copy Markdown
Contributor

@jerry-shao thanks for the PR, I will review this no later than next week.

Copy link
Copy Markdown
Contributor

@comcalvi comcalvi left a comment

Choose a reason for hiding this comment

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

Thanks for the PR! It needs some work to further differentiate it from the L1, but this is a great start.

@mergify mergify bot dismissed comcalvi’s stale review March 16, 2022 15:09

Pull request has been modified.

@jerry-shao jerry-shao requested a review from comcalvi March 16, 2022 16:41
@jerry-shao
Copy link
Copy Markdown
Member Author

Hi @comcalvi

I have added a QueryString object with some methods to add different commands.

Please take a look, thanks!

Copy link
Copy Markdown
Contributor

@comcalvi comcalvi left a comment

Choose a reason for hiding this comment

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

This looks really good! I'd like to see a few quality of life changes and more uses of our existing constructs instead of raw string values, but this is coming along nicely. Nice work!

@jerry-shao jerry-shao force-pushed the jerry-shao/logs-query-definition branch from 72561b0 to e2333ab Compare April 18, 2022 11:03
@mergify mergify bot dismissed comcalvi’s stale review April 18, 2022 11:03

Pull request has been modified.

@jerry-shao jerry-shao requested a review from comcalvi April 18, 2022 11:35
@jerry-shao
Copy link
Copy Markdown
Member Author

Hi @comcalvi

Thanks for your comments, I have addressed them in the newer commit, please take a look.

Thanks!

Copy link
Copy Markdown
Contributor

@comcalvi comcalvi left a comment

Choose a reason for hiding this comment

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

This looks really good! A few small comments and this should be ready to merge.

@jerry-shao jerry-shao force-pushed the jerry-shao/logs-query-definition branch from 0aba264 to 03fcd99 Compare April 19, 2022 22:58
@mergify mergify bot dismissed comcalvi’s stale review April 19, 2022 22:58

Pull request has been modified.

@jerry-shao
Copy link
Copy Markdown
Member Author

@comcalvi Thanks for your comments.

I have addressed all of them, the CodeBuild should pass now :D

@jerry-shao jerry-shao requested a review from comcalvi April 19, 2022 22:59
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 20, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@aws-cdk-automation
Copy link
Copy Markdown
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: 4e28c56
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit fcf981b into aws:master Apr 20, 2022
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 20, 2022

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@jerry-shao jerry-shao deleted the jerry-shao/logs-query-definition branch April 22, 2022 19:46
StevePotter pushed a commit to StevePotter/aws-cdk that referenced this pull request Apr 27, 2022
This PR implemented the [[feature request] (aws-cloudwatch): Saved queries](aws#16395). It will let users be able to create CloudWatch Logs Insights QueryDefinition by using L2 construct.

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@aws-cdk/aws-logs Related to Amazon CloudWatch Logs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants