Skip to content

Commit

Permalink
Update OTLP Exporter insecure channel docs (#2255)
Browse files Browse the repository at this point in the history
  • Loading branch information
pellared authored Aug 13, 2021
1 parent b663b65 commit adb2b6c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/OpenTelemetry.Exporter.OpenTelemetryProtocol/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ values of the `OtlpExporterOptions`

## Special case when using insecure channel

If your application is [.NET Standard
2.1](https://docs.microsoft.com/dotnet/standard/net-standard) or above, and you
are using an insecure (http) endpoint, the following switch must be set before
adding `OtlpExporter`.
If your application is targeting .NET Core 3.1, and you are using an insecure
(HTTP) endpoint, the following switch must be set before adding `OtlpExporter`.

```csharp
AppContext.SetSwitch("System.Net.Http.SocketsHttpHandler.Http2UnencryptedSupport",
Expand Down

0 comments on commit adb2b6c

Please sign in to comment.