OpenTelemetry is deprecating the Span Event API (Span.AddEvent, Span.RecordException) in favor of log-based events emitted via the Logs API. The motivation is to eliminate duplication and confusion from having two overlapping ways to emit events correlated with traces. New code should use the Logs API for events; existing span

6m read timeFrom opentelemetry.io
Post cover image
Table of contents
Why deprecate the Span Event API?What is changing?What stays the same?What should you do?Closing

Sort: