Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

propagates current trace and span ids. Closes #67 #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

StasPerekrestov
Copy link
Contributor

Adds a "native" tracing information propagation support by Serilog

For more information, please

  1. Collect and propagate current trace and span ids through LogEvent serilog/serilog#1955
  2. Opt-in to TraceId and SpanId enrichment for ASP.NET Core 5.0 logs serilog/serilog-aspnetcore#207
  3. Release notes to Serilog v3.1.0

Serilog starting from v3.1.0 adds two new first-class properties to LogEvent: TraceId and SpanId. These are set automatically in Logger.Write() to the corresponding property values from System.Diagnostics.Activity.Current.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant