- Update OTLP proto to v1.7 #4645.
- Add
event_name
as a top level field in theLogRecord
. Events are now simply logs with theevent_name
field set, the logs SDK should be used to emit events (#4652). - Update OTLP gRPC/HTTP exporters: the export timeout is now inclusive of all retries and backoffs. A +/-20% jitter was added to all backoffs. A pointless 32 second sleep that occurred after all retries had completed/failed was removed. (#4564).
- Update ConsoleLogExporter.export to handle LogRecord's containing bytes type in the body (#4614).
- opentelemetry-sdk: Fix invalid
type: ignore
that causes mypy to ignore the whole file (#4618) - Add
span_exporter
property back toBatchSpanProcessor
class (#4621) - Fix license field in pyproject.toml files (#4625)
- Update logger level to NOTSET in logs example (#4637)
- Logging API accepts optional
context
; deprecatestrace_id
,span_id
,trace_flags
. (#4597) and (#4668) - sdk: use context instead of trace_id,span_id for initializing LogRecord (#4653)
- Rename LogRecordProcessor.emit to on_emit (#4648)
- Logging API hide std_to_otel function to convert python logging severity to otel severity (#4649)
- proto: relax protobuf version requirement to support v6 (#4620)
- Bump semantic-conventions to 1.36.0 (#4669)
- Set expected User-Agent in HTTP headers for grpc OTLP exporter (#4658)
Breaking Changes
We are working on stabilizing the Log signal that would require making deprecations and breaking changes. We will try to reduce the releases that may require an update to your code, especially for instrumentations or for sdk developers.
- Rename LogRecordProcessor.emit to on_emit (#4648)