Skip to content
This repository was archived by the owner on Sep 30, 2024. It is now read-only.

Commit e8742bc

Browse files
dadlerjakalia25
andauthored
Add language ID to private metadata for v2 codeintel events (for in p… (#63421)
…orduct analytics) As part of the v1 -> v2 telemetry transition, in product analytics ("IPA") aka admin analytics pages need to all be updated as well. The codeintel IPA page shows codeintel actions by language. We aren't capturing this metadata for v2 events. This PR adds it to private metadata (since this is only needed on the instance itself). ## Test plan CI --------- Co-authored-by: Dan Adler <5589410+dadlerj@users.noreply.github.com> Co-authored-by: Aditya Kalia <32119652+akalia25@users.noreply.github.com>
1 parent 09aefd5 commit e8742bc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

client/shared/src/codeintel/legacy-extensions/telemetry.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ export class TelemetryEmitter {
7575
durationMs: this.elapsed(),
7676
repositoryId: this.repoID,
7777
},
78+
privateMetadata: {
79+
languageId: this.languageID,
80+
},
7881
})
7982
} catch {
8083
// Older version of Sourcegraph may have not registered this

0 commit comments

Comments
 (0)