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

Commit 58f58b6

Browse files
authored
Merge pull request #10 from microsoft/udpate-telemetry
More flags to telemetry client
2 parents 1055213 + 59f76ae commit 58f58b6

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/apkAnalyzer/CiRunner.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,14 @@ export default class CiRunner {
5050

5151
// Configure and enable telemetry
5252
appInsights.setup('0ba004b8-ff05-41fa-a241-3f026d68fc3a') // Change this to your own instrumentation key
53+
.setAutoDependencyCorrelation(true)
54+
.setAutoCollectRequests(true)
55+
.setAutoCollectPerformance(true, true)
5356
.setAutoCollectExceptions(true)
54-
.setSendLiveMetrics(false)
57+
.setAutoCollectDependencies(true)
58+
.setAutoCollectConsole(true)
59+
.setUseDiskRetryCaching(true)
60+
.setSendLiveMetrics(true)
5561
.start();
5662
this.telemetryClient = appInsights.defaultClient;
5763
}

0 commit comments

Comments
 (0)