You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've made a first attempt at this. If we change the Logging API (e.g. immediate replacement of trace_id etc with span_context) then I think the Events API needs to change too because Event(LogRecord): #4584
Would it make sense to do a "transition" release where we introduce span_context and deprecate trace_id etc, to be fully removed later? I was thinking this could be one way to get everything to keep working and pass through the release process.
What are some other things to consider? I'd like to help with stabilizing the Logging API and this is my first time really working on it.
Thank you to Python SIG for guidance at this week's meeting! I've made a new PR to introduce more backwards-compatible changes to the Logging API to accept Context (not SpanContext!). This should not require any Events API changes nor Instrumentor changes: #4597
See specification here https://github.com/open-telemetry/opentelemetry-specification/blob/v1.39.0/specification/logs/event-api.md#emit-event
Right now we accept specific fields from SpanContext which doesn't handle extra context stuff like baggage
opentelemetry-python/opentelemetry-api/src/opentelemetry/_events/__init__.py
Lines 38 to 40 in 2ddb076
The text was updated successfully, but these errors were encountered: