Skip to content

Commit

Permalink
Update telemetry to use app insights in AME (prod) environment (#284)
Browse files Browse the repository at this point in the history
  • Loading branch information
NoriZC authored Nov 8, 2024
1 parent 4ea27f2 commit 4903fa3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell/agents/Microsoft.Azure.Agent/Telemetry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,8 @@ private Telemetry()
IServiceCollection services = new ServiceCollection()
.AddApplicationInsightsTelemetryWorkerService((ApplicationInsightsServiceOptions options) =>
{
// Application insights in the test environment.
options.ConnectionString = "InstrumentationKey=eea660a1-d969-44f8-abe4-96666e7fb159";
// Application insights in the AME environment.
options.ConnectionString = "InstrumentationKey=6378fd21-6e8d-4192-9714-0b776babff23";
options.EnableHeartbeat = false;
options.EnableDiagnosticsTelemetryModule = false;
});
Expand Down

0 comments on commit 4903fa3

Please sign in to comment.