Skip to content

Commit

Permalink
Remove OpenTelemetry ASP.NET Core and HTTP metrics. (Azure#38972)
Browse files Browse the repository at this point in the history
  • Loading branch information
rajkumar-rangaraj authored and yaotongms committed Oct 12, 2023
1 parent 9c429cb commit a63bfc5
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,6 @@ public static OpenTelemetryBuilder UseAzureMonitor(this OpenTelemetryBuilder bui
.AddAzureMonitorTraceExporter());

builder.WithMetrics(b => b
.AddAspNetCoreInstrumentation()
.AddHttpClientInstrumentation()
.AddAzureMonitorMetricExporter());

builder.Services.AddLogging(logging =>
Expand Down

0 comments on commit a63bfc5

Please sign in to comment.