serilog-sinks-opentelemetry

Serilog to OpenTelemetry Logs sink

APACHE-2.0 License

Stars
100
Committers
14

Bot releases are visible (Hide)

serilog-sinks-opentelemetry - v3.0.0 Latest Release

Published by serilog-build 5 months ago

  • #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)
serilog-sinks-opentelemetry - v2.0.0

Published by serilog-build 6 months ago

  • #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.

serilog-sinks-opentelemetry - v1.2.0

Published by serilog-build 11 months ago

  • #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)
serilog-sinks-opentelemetry - v1.1.0

Published by serilog-build about 1 year ago

  • #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)
serilog-sinks-opentelemetry - v1.0.2

Published by serilog-build over 1 year ago

  • #98 - update NUPKG dependencies, avoiding a vulnerable version of Grpc.Client (@nblumhardt)
serilog-sinks-opentelemetry - v1.0.1

Published by serilog-build over 1 year ago

  • #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)
serilog-sinks-opentelemetry - v1.0.0

Published by serilog-build over 1 year ago

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:

  • @loomis - initial version, build-out, and stabilization
  • @nblumhardt - build-out and stabilization
  • @shatl - #21 - reduce memory allocations
  • @maciejpiwowarczyk-relativity - #40 - initial batching configuration that led to full AuditTo support
  • @SimonCropp - #39 - project setup improvements and code style updates
Badges
Extracted from project README
Build status NuGet Version
Related Projects