Skip to content

Commit 6186ad2

Browse files
authored
telemetry: rename vscode_viewLogs => toolkit_viewLogs #2934
There is now a common metric for this: aws/aws-toolkit-common#377
1 parent 2287ee4 commit 6186ad2

File tree

4 files changed

+9
-13
lines changed

4 files changed

+9
-13
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3232,7 +3232,7 @@
32323232
"report": "nyc report --reporter=html --reporter=json"
32333233
},
32343234
"devDependencies": {
3235-
"@aws-toolkits/telemetry": "^1.0.72",
3235+
"@aws-toolkits/telemetry": "^1.0.76",
32363236
"@cspotcode/source-map-support": "^0.8.1",
32373237
"@sinonjs/fake-timers": "^8.1.0",
32383238
"@types/adm-zip": "^0.4.34",

src/shared/logger/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export class Logging {
3131
public constructor(private readonly defaultLogUri: vscode.Uri, private readonly logger: Logger) {}
3232

3333
public async openLogUri(logUri = this.defaultLogUri): Promise<vscode.TextEditor | undefined> {
34-
telemetry.vscode_viewLogs.emit() // Perhaps add additional argument to know which log was viewed?
34+
telemetry.toolkit_viewLogs.emit() // Perhaps add additional argument to know which log was viewed?
3535

3636
return vscode.window.showTextDocument(logUri)
3737
}

src/shared/telemetry/vscodeTelemetry.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,10 +171,6 @@
171171
"unit": "Count",
172172
"passive": true
173173
},
174-
{
175-
"name": "vscode_viewLogs",
176-
"description": "View the VSCode IDE logs"
177-
},
178174
{
179175
"name": "aws_showExplorerErrorDetails",
180176
"description": "Called when getting more details about errors thrown by the explorer",

0 commit comments

Comments
 (0)