Skip to content

Conversation

@mkovelam
Copy link
Contributor

Problem

Currently QCodeReviewTool do not have any metric name/definition defined to emit metrics

Solution

Added a new metric definition.

License

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

mkovelam added 2 commits July 15, 2025 20:31
Context:
Adding new amazonq_qCodeReviewTool metric definition

How?
added new definition
@mkovelam mkovelam requested a review from a team as a code owner July 16, 2025 03:46
Copy link
Contributor

@laileni-aws laileni-aws left a comment

Choose a reason for hiding this comment

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

Tests are failing! Please check

{
"name": "codewhispererCodeScanScope",
"type": "string",
"description": "The scope of the security scan being performed",
Copy link
Contributor

Choose a reason for hiding this comment

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

Check if this is not used in existing code base if Yes then we should be good

"type": "result"
},
{
"type": "scope",
Copy link
Contributor

Choose a reason for hiding this comment

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

nit:
This can be a required field!

Copy link
Contributor

Choose a reason for hiding this comment

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

BTW Thanks for reusing this field!

Copy link
Contributor

@laileni-aws laileni-aws left a comment

Choose a reason for hiding this comment

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

LGTM

@laileni-aws laileni-aws merged commit 6339bbc into aws:main Jul 18, 2025
5 checks passed
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.

5 participants