ecs-dotnet icon indicating copy to clipboard operation
ecs-dotnet copied to clipboard

Elasticsearch.Extensions.Logging should read tracing and service information from Elastic APM Agent

Open Mpdreamz opened this issue 3 years ago • 0 comments

Elasticsearch.Extensions.Logging kinda does its own thing. It does not have the equivalent of Serilog/NLog enrichers that take precedence providing tracing/service information directly from the agent.

Need to look into ExternalScopeProviders in order to expose it without Elasticsearch.Extensions.Logging taking a dependency on the agent:

See: https://github.com/dotnet/runtime/issues/34305

Originally posted by @Mpdreamz in https://github.com/elastic/ecs-dotnet/issues/209#issuecomment-1233432815

Mpdreamz avatar Aug 31 '22 21:08 Mpdreamz