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

Added OpenTelemetry TraceId and SpanId #497

Merged
merged 7 commits into from
Nov 27, 2023

Conversation

ckadluba
Copy link
Member

@ckadluba ckadluba commented Nov 25, 2023

Added the new standard columns TraceId and SpanId for OpenTelemetry tracing. Those columns are by default not enabled and must be added to the ColumnOptions.Store property to use them (for backwards compatibility). If the columns are activated, the corresponding log event properties from Serilog will be written to those columns (serilog/serilog#1955).

Fixes #488

Run pr-validation-yml twice a month on the 1st and 15th day. This ensures we detect problems soon which do not arise from code changes but from changes in the environments, e.g. changes on the actions runner agents, removed dependencies on nuget.org and things like that.
Added the new standard columns TraceId and SpanId for OpenTelemetry tracing. Those columns are by default not enabled and must be added to the ColumnOptions.Store property to use them (for backwards compatibility). If the columns are activated, the corresponding OpenTracing log event properties from Serilog will be written to those columns (serilog/serilog#1955).
Directory.Packages.props Show resolved Hide resolved
@ckadluba ckadluba added this pull request to the merge queue Nov 27, 2023
Merged via the queue into serilog-mssql:dev with commit 0202c95 Nov 27, 2023
5 checks passed
@ckadluba ckadluba deleted the bug/488-traceid-aspnetcore-5 branch November 27, 2023 08:07
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.

Opt-in to TraceId enrichment for ASP.NET Core 5.0 logs - support in Serilog.Sinks.MSSqlServer
2 participants