Skip to content

Commit

Permalink
telemetry(amazonq): add optional field to validateProject metric for …
Browse files Browse the repository at this point in the history
…SQL conversions (#909)

## Problem

Want to be able to track various metadata, such as how often a project
is eligible for both language upgrade and SQL conversion.

## Solution

Add an optional field to an existing metric.

<!---
    REMINDER:
    - Read CONTRIBUTING.md first.
    - Add test coverage for your changes.
    - Link to related issues/commits.
    - Testing: how did you test your changes?
    - Screenshots if applicable
-->

## License

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

---------

Co-authored-by: David Hasani <[email protected]>
  • Loading branch information
dhasani23 and David Hasani authored Nov 13, 2024
1 parent 2ee83b6 commit c06dbef
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,11 @@
"type": "string",
"description": "A unique upload ID for S3"
},
{
"name": "codeTransformValidationMetadata",
"type": "string",
"description": "A field for storing various validation metadata"
},
{
"name": "codeTransformVCSViewerSrcComponents",
"type": "string",
Expand Down Expand Up @@ -4181,6 +4186,10 @@
"type": "codeTransformSessionId",
"required": true
},
{
"type": "codeTransformValidationMetadata",
"required": false
},
{
"type": "reason",
"required": false
Expand Down

0 comments on commit c06dbef

Please sign in to comment.