Skip to content

Commit

Permalink
Merge branch 'main' into feature/q-hil-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick Ardecky committed Apr 23, 2024
2 parents 63d8f08 + c20a5db commit 59dec50
Show file tree
Hide file tree
Showing 9 changed files with 45 additions and 11 deletions.
2 changes: 1 addition & 1 deletion telemetry/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Telemetry

`telemetry` contains code generators and definitions files to generate telemetry calls for the various
AWS Toolkits.
AWS IDE Extensions.

## Adding Telemetry

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.9.0" />
<PackageReference Include="xunit" Version="2.7.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
<PackageReference Include="xunit" Version="2.7.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Moq" Version="4.18.4" />
<PackageReference Include="xunit" Version="2.7.0" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.7">
<PackageReference Include="xunit" Version="2.7.1" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
30 changes: 30 additions & 0 deletions telemetry/definitions/commonDefinitions.json
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,15 @@
"type": "double",
"description": "The total size in bytes of customer project to perform security scan on"
},
{
"name": "codewhispererCodeScanScope",
"type": "string",
"description": "The scope of the security scan being performed",
"allowedValues": [
"FILE",
"PROJECT"
]
},
{
"name": "codewhispererCodeScanSrcPayloadBytes",
"type": "int",
Expand Down Expand Up @@ -1058,6 +1067,11 @@
"type": "boolean",
"description": "Whether this was an individual point or an aggregation of points."
},
{
"name": "isReAuth",
"type": "boolean",
"description": "If this was performed as part of the reauthentication flow."
},
{
"name": "lambdaArchitecture",
"allowedValues": [
Expand Down Expand Up @@ -1980,10 +1994,18 @@
"type": "credentialSourceId",
"required": false
},
{
"type": "credentialStartUrl",
"required": false
},
{
"type": "credentialType",
"required": false
},
{
"type": "isReAuth",
"required": false
},
{
"type": "result"
}
Expand Down Expand Up @@ -2975,6 +2997,10 @@
{
"type": "codeTransformSessionId",
"required": true
},
{
"type": "credentialSourceId",
"required": false
}
]
},
Expand Down Expand Up @@ -3564,6 +3590,10 @@
"type": "codewhispererCodeScanProjectBytes",
"required": false
},
{
"type": "codewhispererCodeScanScope",
"required": false
},
{
"type": "codewhispererCodeScanSrcPayloadBytes"
},
Expand Down
2 changes: 1 addition & 1 deletion telemetry/jetbrains/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ publishing {
from(components["java"])
pom {
name.set(project.name)
description.set("Telemetry generation for AWS Toolkit for JetBrains")
description.set("Telemetry generation for AWS Toolkit and Amazon Q for JetBrains")
url.set("https://github.com/aws/aws-toolkit-common")
licenses {
license {
Expand Down
4 changes: 3 additions & 1 deletion telemetry/service/service-model.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
"AWS Toolkit For JetBrains",
"AWS Toolkit For Eclipse",
"AWS Toolkit For VisualStudio",
"AWS Toolkit For VS Code"
"AWS Toolkit For VS Code",
"Amazon Q For JetBrains",
"Amazon Q For VS Code"
]
},
"AWSProductVersion":{
Expand Down
6 changes: 4 additions & 2 deletions telemetry/vscode/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# AWS Toolkit for VSCode Telemetry
# AWS Toolkit/Amazon Q for VSCode Telemetry

This package contains scripts and files to generate telemetry calls for the [AWS Toolkit for VS Code](https://github.com/aws/aws-toolkit-vscode).
This package contains scripts and files to generate telemetry calls for:
- [AWS Toolkit for VS Code](https://github.com/aws/aws-toolkit-vscode/tree/master/packages/toolkit)
- [Amazon Q for VS Code](https://github.com/aws/aws-toolkit-vscode/tree/master/packages/amazonq).

## Usage

Expand Down
2 changes: 1 addition & 1 deletion telemetry/vscode/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@aws-toolkits/telemetry",
"version": "0.0.2",
"description": "A library used by the AWS Toolkit for VSCode to provide telemetry",
"description": "A library used by the AWS Toolkit, Amazon Q for VSCode to provide telemetry",
"main": "./lib/generateTelemetry.js",
"scripts": {
"build": "ts-node ./scripts/setUpPackage.ts && tsc -p ./",
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.197
1.0.203

0 comments on commit 59dec50

Please sign in to comment.