Skip to content

Releases: serilog/serilog-sinks-opentelemetry

v4.1.1

24 Sep 23:55
b894851
Compare
Choose a tag to compare

v4.1.0

05 Sep 06:38
d243aa0
Compare
Choose a tag to compare
  • #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

28 Jul 22:42
a967446
Compare
Choose a tag to compare

Breaking changes

  • Sink behavior may change in the presence of OTEL_* environment variables. To prevent this, pass ignoreEnvironment: true to any of the WriteTo configuration methods.
  • Log events carrying a SpanStartTimestamp property of type DateTime will now be recognized as spans rather than logs.

v3.0.0

06 Jun 09:41
fa5588b
Compare
Choose a tag to compare
  • #136 - breaking - use Serilog 4's batching implementation, drop Serilog.Sinks.PeriodicBatching dependency (@nblumhardt)
  • #139 - align TFMs with Serilog 4, adding net8.0 and net471 (@nblumhardt)

v2.0.0

07 May 01:35
948fa0f
Compare
Choose a tag to compare
  • #113 - breaking - use SourceContext to populate instrumentation scope name (@nblumhardt)
  • #118 - documentation for suppressing instrumentation (@nblumhardt)
  • #122 - update Serilog.Sinks.PeriodicBatching dependency (@nblumhardt)
  • #123 - add headers and resourceAttributes to simple configuration methods (@nblumhardt)
  • #131 - add restrictedToMinimumLevel parameter to configuration methods (@CloudeaSoft)
  • #125 - specify a non-tracing default HttpMessageHandler on .NET 6.0+ (@KodrAus)
  • #133 - add includedData parameter 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

15 Nov 02:07
2eb8d4d
Compare
Choose a tag to compare
  • #110 - use Serilog 3.1's LogEvent.TraceId and LogEvent.SpanId instead of the ConditionalWeakTable workaround (@nblumhardt)
  • #111 - preserve DateTime/DateTimeOffset's full 100 nanosecond precision when converting to Unix nanos (@nblumhardt)

v1.1.0

28 Sep 23:15
4fbf3a3
Compare
Choose a tag to compare
  • #104 - IncludedData.TemplateBody option, using the raw message template text instead of the rendered message as the log record body (@danelson)
  • #106 - IncludedData.MessageTemplateRenderingsAttribute option, include pre-rendered strings for any message template parameters with custom format specifiers (@nblumhardt)

v1.0.2

11 Jul 00:45
18b6f45
Compare
Choose a tag to compare
  • #98 - update NUPKG dependencies, avoiding a vulnerable version of Grpc.Client (@nblumhardt)

v1.0.1

07 Jul 04:37
a52ac9b
Compare
Choose a tag to compare
  • #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.version attribute values (@nblumhardt)

v1.0.0

01 Jun 22:45
d687d7e
Compare
Choose a tag to compare

Features in 1.0.0

  • Full support for the OTLP Logs protocol with gRPC and HTTP/protobuf transport flavors
  • Full support for structured log events including complex property types
  • Follows standard semantic conventions for service naming, exception information, etc.
  • Configuration of additional resource attributes
  • Configuration of outbound HTTP request handling and attached headers
  • Batched/asynchronous WriteTo support
  • Synchronous/hard-failing AuditTo support
  • Trace and span correlation through System.Diagnostics.Activity

Credits

This release is made possible by: