Skip to content

Remove events from the API/SDK, an Event is now a LogRecord with the EventName field set #4651

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

- Remove `Events` from the API/SDK completely. An `Event` is now simply a `LogRecord` with the `EventName` field set.
- 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.
Expand Down
224 changes: 0 additions & 224 deletions opentelemetry-api/src/opentelemetry/_events/__init__.py

This file was deleted.

Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,3 @@
"""
.. envvar:: OTEL_PYTHON_LOGGER_PROVIDER
"""

_OTEL_PYTHON_EVENT_LOGGER_PROVIDER = "OTEL_PYTHON_EVENT_LOGGER_PROVIDER"
"""
.. envvar:: OTEL_PYTHON_EVENT_LOGGER_PROVIDER
"""
21 changes: 0 additions & 21 deletions opentelemetry-api/tests/events/test_event.py

This file was deleted.

61 changes: 0 additions & 61 deletions opentelemetry-api/tests/events/test_event_logger_provider.py

This file was deleted.

50 changes: 0 additions & 50 deletions opentelemetry-api/tests/events/test_proxy_event.py

This file was deleted.

Loading
Loading