You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/core/extensions/httpclient-latency-extensions.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,7 +47,7 @@ For more information, see [dotnet package add](../tools/dotnet-package-add.md) o
47
47
48
48
To add HTTP client latency telemetry to your application, call the <xref:Microsoft.Extensions.DependencyInjection.HttpClientLatencyTelemetryExtensions.AddHttpClientLatencyTelemetry*> extension method when configuring your services:
This registration adds a `DelegatingHandler` to all HTTP clients created through <xref:System.Net.Http.IHttpClientFactory>, collecting detailed latency information for each request.
53
53
@@ -57,7 +57,7 @@ You configure telemetry collection through the <xref:Microsoft.Extensions.Http.L
57
57
You can supply values either with a delegate or by binding configuration (for example, `appsettings.json`).
58
58
The options instance is resolved once per handler pipeline so changes apply to new clients/handlers.
0 commit comments