What's Changed
Enhancements
- Log after adding AspNetCore trace instrumentation by @stevejgordon in #262
Improves the trace logging for diagnostic and support purposes.
Behaviour change
- No longer default to IncludeScopes by @stevejgordon in #265
The upstream SDK isn't spec-compliant regarding not exporting duplicate attributes. As such, when using IncludeScopes
in ASP.NET Core, log entries often include a duplicated RequestId
attribute. The Elasticsearch exporter component of the collector expects the data to comply with the spec and, for performance reasons, doesn't attempt to de-duplicate, resulting in export errors for the log record. EDOT .NET no longer enables IncludeScopes
by default as a partial workaround. This will be re-enabled in a future release, once the risk of data loss is resolved upstream.
References:
Full Changelog: 1.0.1...1.0.2