Skip to content

Commit a5a9772

Browse files
committed
Added an OpenTelemetry blurb to the /identityserver/diagnostics/logging page
1 parent a7cb919 commit a5a9772

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

  • src/content/docs/identityserver/diagnostics

src/content/docs/identityserver/diagnostics/logging.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,7 @@ var isBuilder = builder.Services.AddIdentityServer(options =>
114114
```
115115

116116
Returning `true` means the exception will be logged, while returning `false` indicates the exception should not be logged.
117+
118+
## OpenTelemetry
119+
120+
Logs written to the standard `ILogger` system in .NET 8+ can be exported to OpenTelemetry traces at runtime. This helps visualize when the log statement occurred in relation to the entire request. The logs are augmented with trace ids and correlated with traces. Have a look at [logs in OpenTelemetry](/identityserver/diagnostics/otel.md#logs) for setup details.

0 commit comments

Comments
 (0)