You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/identityserver/diagnostics/otel.md
+24Lines changed: 24 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -458,3 +458,27 @@ You can select which information you are interested in by selectively listening
458
458
**`IdentityServerConstants.Tracing.Validation`*
459
459
460
460
More detailed tracing related to validation
461
+
462
+
## OpenTelemetry From 3rd Party Logging Frameworks
463
+
464
+
If you're unable to use the `ILogger` system in .NET, your choice of logging framework may be able to push log messages to traces. You can view their documentation to set that up.
465
+
466
+
### OpenTelemetry with Serilog
467
+
468
+
If you are logging with Serilog and want to use that framework's native API to push log messages to traces, you need to:
469
+
470
+
* Add the Serilog OpenTelemetry sink library
471
+
* Instruct the Serilog logger object to write to the OpenTelemetry sink
472
+
473
+
Note: See the Serilog [OpenTelemetry sink](https://github.com/serilog/serilog-sinks-opentelemetry) documentation for the most up to date information.
0 commit comments