serilog-enrichers-thread icon indicating copy to clipboard operation
serilog-enrichers-thread copied to clipboard

Enrich Serilog events with properties from the current thread.

Results 2 serilog-enrichers-thread issues
Sort by recently updated
recently updated
newest added

I used ThreadIdEnricher.ThreadIdPropertyName and ThreadNameEnricher.ThreadNamePropertyName to access the corresponding values in a LogEvent. But now theses names aren't public. Also, it breaks your example: .Enrich.WithProperty(ThreadNameEnricher.ThreadNamePropertyName, "MyDefault")

Since this was created probably long before otel defined attributes this serilog enricher does not align with otel spec: [https://opentelemetry.io/docs/specs/semconv/attributes-registry/thread/](https://opentelemetry.io/docs/specs/semconv/attributes-registry/thread/) Could we align it or does it need a new...