Skip to content

Commit a2f5baf

Browse files
authored
add note about EnableDistributedTracing config flag (#48001)
1 parent 3ed2243 commit a2f5baf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/orleans/host/monitoring/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -356,6 +356,8 @@ Regardless of the distributed tracing exporter you choose, call:
356356
- <xref:Orleans.Hosting.CoreHostingExtensions.AddActivityPropagation(Orleans.Hosting.ISiloBuilder)>: which enables distributed tracing for the silo.
357357
- <xref:Orleans.Hosting.ClientBuilderExtensions.AddActivityPropagation(Orleans.Hosting.IClientBuilder)>: which enables distributed tracing for the client.
358358

359+
Or set the `EnableDistributedTracing` config option to `true`.
360+
359361
Referring back to the [Orleans GPS Tracker sample app](/samples/dotnet/samples/orleans-gps-device-tracker-sample), you can use the [Zipkin](https://zipkin.io) distributed tracing system to monitor the app by updating _Program.cs_. To use OpenTelemetry and Zipkin with Orleans, call the following `IServiceCollection` extension method:
360362

361363
```csharp

0 commit comments

Comments
 (0)