Skip to content

Commit

Permalink
Rename metric properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Keegan Irby committed Nov 19, 2024
1 parent 927abe7 commit f965380
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,16 @@ export async function tailLogGroup(
if (registry.has(uriToKey(session.uri))) {
await prepareDocument(session)
span.record({
livetailSessionAlreadyStarted: true,
sessionAlreadyStarted: true,
source: source,
})
return
}
span.record({
source: source,
livetailSessionAlreadyStarted: false,
livetailHasLogEventFilterPattern: Boolean(wizardResponse.filterPattern),
livetailLogStreamFilterType: wizardResponse.logStreamFilter.type,
sessionAlreadyStarted: false,
hasLogEventFilterPattern: Boolean(wizardResponse.filterPattern),
logStreamFilterType: wizardResponse.logStreamFilter.type,
})

registry.set(uriToKey(session.uri), session)
Expand Down
12 changes: 6 additions & 6 deletions packages/core/src/shared/telemetry/vscodeTelemetry.json
Original file line number Diff line number Diff line change
Expand Up @@ -352,17 +352,17 @@
"description": "Duration between the partner teams code receiving the message and when the message was finally displayed in ms"
},
{
"name": "livetailSessionAlreadyStarted",
"name": "sessionAlreadyStarted",
"type": "boolean",
"description": "Session already open"
},
{
"name": "livetailHasLogEventFilterPattern",
"name": "hasLogEventFilterPattern",
"type": "boolean",
"description": "If LogEvent filter pattern is applied"
},
{
"name": "livetailLogStreamFilterType",
"name": "logStreamFilterType",
"type": "string",
"description": "Type of LogStream filter applied to session"
}
Expand Down Expand Up @@ -1255,15 +1255,15 @@
"required": true
},
{
"type": "livetailSessionAlreadyStarted",
"type": "sessionAlreadyStarted",
"required": true
},
{
"type": "livetailHasLogEventFilterPattern",
"type": "hasLogEventFilterPattern",
"required": false
},
{
"type": "livetailLogStreamFilterType",
"type": "logStreamFilterType",
"required": false
}
]
Expand Down

0 comments on commit f965380

Please sign in to comment.