Skip to content

Commit 027b7cd

Browse files
committed
YARP migration /2
1 parent f054deb commit 027b7cd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

aspnetcore/fundamentals/servers/yarp/diagnosing-yarp-issues.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ The [Metrics sample](https://github.com/microsoft/reverse-proxy/tree/main/sample
111111
* `ForwarderTelemetryConsumer`
112112
* `HttpClientTelemetryConsumer`
113113

114-
To use either of these you create a class implementing a [telemetry interface](https://microsoft.github.io/reverse-proxy/api/Yarp.Telemetry.Consumption.html#interfaces), such as [`IForwarderTelemetryConsumer`](https://github.com/microsoft/reverse-proxy/blob/release/latest/src/TelemetryConsumption/Forwarder/IForwarderTelemetryConsumer.cs):
114+
To use either of these you create a class implementing a <!-- fix link -->`[telemetry interface](https://microsoft.github.io/reverse-proxy/api/Yarp.Telemetry.Consumption.html#interfaces)`, such as [`IForwarderTelemetryConsumer`](https://github.com/microsoft/reverse-proxy/blob/release/latest/src/TelemetryConsumption/Forwarder/IForwarderTelemetryConsumer.cs):
115115

116116
```C#
117117
public class ForwarderTelemetry : IForwarderTelemetryConsumer

aspnetcore/fundamentals/servers/yarp/http-client-config.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ The configuration is represented differently if you're using the [IConfiguration
2424
These types are focused on defining serializable configuration. The code based configuration model is described below in the "Code Configuration" section.
2525

2626
### HttpClient
27-
HTTP client configuration is based on [HttpClientConfig](xref:Yarp.ReverseProxy.Configuration.HttpClientConfig) and represented by the following configuration schema. If you need a more granular approach, use a <!--fix link--> [custom implementation](https://microsoft.github.io/reverse-proxy/articles/http-client-config.html#custom-iforwarderhttpclientfactory) of `IForwarderHttpClientFactory`.
27+
HTTP client configuration is based on [HttpClientConfig](xref:Yarp.ReverseProxy.Configuration.HttpClientConfig) and represented by the following configuration schema. If you need a more granular approach, use a <!--check link--> [custom implementation](xref:fundamentals/servers/yarp/http-client-config#custom-iforwarderhttpclientfactory) of `IForwarderHttpClientFactory`.
2828

29+
<!-- original linke [custom implementation](https://microsoft.github.io/reverse-proxy/articles/http-client-config.html#custom-iforwarderhttpclientfactory) -->
2930
```JSON
3031
"HttpClient": {
3132
"SslProtocols": [ "<protocol-names>" ],

0 commit comments

Comments
 (0)