Releases: serilog/serilog-sinks-opentelemetry
Releases · serilog/serilog-sinks-opentelemetry
v4.2.0
What's Changed
- Use the correct OpenTelemetry schema URL in
RequestTemplateFactoryby @nblumhardt in #170 - Add an option to include
StructureValue.TypeTagas$typewhen converting to OTLP maps by @nblumhardt in #174 - Switch to GitHub Actions build, add .NET 9 target by @nblumhardt in #175
v4.1.1
- #160 - run tests on .NET Framework (@alsi-lawr)
- #163 - parse
OTEL_*header and resource attribute values according to spec (@nblumhardt)
v4.1.0
- #150 - provide a hook to call
OpenTelemetry.SuppressInstrumentationScope.Begin()when required (@nblumhardt) - #152 - support reading
OTEL_*configuration variables from sources other than the environment (@srogovtsev)
v4.0.0
- #141 - breaking - recognize core
OTEL_OTLP_EXPORTER_*variables (@AlbertoMonteiro) - #145 - add GitHub issue templates (@nblumhardt)
- #146 - breaking - recognize
OTEL_SERVICE_NAME(@nblumhardt) - #147 - breaking - map events carrying
SpanStartTimestampas OTLP spans (@nblumhardt) - #149 - README updates (@nblumhardt)
Breaking changes
- Sink behavior may change in the presence of
OTEL_*environment variables. To prevent this, passignoreEnvironment: trueto any of theWriteToconfiguration methods. - Log events carrying a
SpanStartTimestampproperty of typeDateTimewill now be recognized as spans rather than logs.
v3.0.0
- #136 - breaking - use Serilog 4's batching implementation, drop Serilog.Sinks.PeriodicBatching dependency (@nblumhardt)
- #139 - align TFMs with Serilog 4, adding
net8.0andnet471(@nblumhardt)
v2.0.0
- #113 - breaking - use
SourceContextto populate instrumentation scope name (@nblumhardt) - #118 - documentation for suppressing instrumentation (@nblumhardt)
- #122 - update Serilog.Sinks.PeriodicBatching dependency (@nblumhardt)
- #123 - add
headersandresourceAttributesto simple configuration methods (@nblumhardt) - #131 - add
restrictedToMinimumLevelparameter to configuration methods (@CloudeaSoft) - #125 - specify a non-tracing default
HttpMessageHandleron .NET 6.0+ (@KodrAus) - #133 - add
includedDataparameter to configuration methods (@binginsin)
#113 defaults to mapping SourceContext to the instrumentation scope name, and will omit the SourceContext from the log event payload by default. To preserve it, specify IncludedData.SourceContextAttribute.
v1.2.0
- #110 - use Serilog 3.1's
LogEvent.TraceIdandLogEvent.SpanIdinstead of theConditionalWeakTableworkaround (@nblumhardt) - #111 - preserve
DateTime/DateTimeOffset's full 100 nanosecond precision when converting to Unix nanos (@nblumhardt)
v1.1.0
- #104 -
IncludedData.TemplateBodyoption, using the raw message template text instead of the rendered message as the log record body (@danelson) - #106 -
IncludedData.MessageTemplateRenderingsAttributeoption, include pre-rendered strings for any message template parameters with custom format specifiers (@nblumhardt)
v1.0.2
- #98 - update NUPKG dependencies, avoiding a vulnerable version of Grpc.Client (@nblumhardt)
v1.0.1
- #91 - include README in package for display on nuget.org (@nblumhardt)
- #90 - line up package description with README text
- #92 - don't include prerelease suffix in non-prerelease
telemetry_sdk.versionattribute values (@nblumhardt)