コード例 #1
0
 /// <summary>
 /// Adds an <see cref="UnchainedTraceHeaderPropagatingHandler"/> to the HTTP client being built,
 /// which will propagate trace information for outgoing requests, made with this client,
 /// when the request being handled by this server is already being traced.
 /// </summary>
 /// <param name="clientBuilder">The <see cref="IHttpClientBuilder"/> to add this handler to.</param>
 public static IHttpClientBuilder AddOutgoingGoogleTraceHandler(this IHttpClientBuilder clientBuilder) =>
 clientBuilder.AddOutgoingGoogleTraceHandler(labelsProvider: null);