Add Logs info to OTel docs#1002
Conversation
…ed to OTel traces. Includes 2 images of the structured logs in otel
maartenba
left a comment
There was a problem hiding this comment.
Small change suggested to code sample.
Does this also work with Serilog? (given how https://github.com/orgs/DuendeSoftware/discussions/451#discussioncomment-15453156 is hooking things up directly)
Co-authored-by: Maarten Balliauw <maarten.balliauw@duendesoftware.com>
|
@maartenba The code sample in that GitHub Issue is specific to Serilog. The code sample in this PR is generic to ASP.NET Core for anyone using ILogger. I can include that Serilog specific sample, but if we do that should we also include samples for other logging frameworks? |
|
We have Serilog in many other places (it's the default in our templates) so makes sense to add imo. Also feel free to cross-reference to (and from) https://docs.duendesoftware.com/general/logging/#setup-for-serilog |
…show how to send log messages to traces using the Serilog native api
|
@maartenba Added a blurb at the bottom of |
maartenba
left a comment
There was a problem hiding this comment.
Perfect! Merge at will. Thanks @ProgrammerAL !
/identityserver/diagnostics/otelpage to detail how logs can be exported to OTel tracesOpenTelemetry Signalsheader towards the top to group signals together (traces, logs, metrics)/identityserver/diagnostics/loggingpage to include a blurb about logging OTel info in the otel pageFixes #973