Skip to content

Conversation

@pellared
Copy link
Member

@pellared pellared commented Jan 8, 2025

Fixes #4234
Fixes #4275
Fixes #4199
Related to #4357

This PR fixes more issues while making the design simpler than:

It does not break anything which was agreed on in https://github.com/open-telemetry/opentelemetry-specification/blob/main/oteps/0265-event-vision.md.

I think we have gathered enough use cases to make emitting log records user-facing:

Other related OTEP PR:

Here is an OTel Go prototype pre-approved by @open-telemetry/go-maintainers :

I want to add that the other prototype following the current specification was not found acceptable for OTel Go SIG:

@pellared pellared changed the title logs: Remove Events operations in favor of making Logs API user-facing logs: Remove Events operations in favor of making whole Logger user-facing Jan 8, 2025
@pellared pellared self-assigned this Jan 8, 2025
@pellared pellared marked this pull request as ready for review January 9, 2025 19:18
@pellared pellared requested review from a team January 9, 2025 19:18
@pellared pellared added the spec:logs Related to the specification/logs directory label Jan 9, 2025
Copy link
Member

@XSAM XSAM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚀

Copy link
Contributor

@breedx-splk breedx-splk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yup. Sure seems like this is the way forward.

@trask
Copy link
Member

trask commented Jan 14, 2025

please wait to merge until at least Thu, Jan 16, in order to give @MSNev time to check in with the JS SIG on Wed, Jan 15

@pellared pellared mentioned this pull request Jan 15, 2025
@MSNev
Copy link
Contributor

MSNev commented Jan 15, 2025

please wait to merge until at least Thu, Jan 16, in order to give @MSNev time to check in with the JS SIG on Wed, Jan 15

@trask JavaScript is going to keep the existing (previous - now spec removed) Event API in its v2 release to avoid blocking the JS Client instrumentations.

@trask
Copy link
Member

trask commented Jan 15, 2025

@trask JavaScript is going to keep the existing (previous - now spec removed) Event API in its v2 release to avoid blocking the JS Client instrumentations.

thanks @MSNev!

I think we are good to merge this then

@reyang
Copy link
Member

reyang commented Jan 15, 2025

please wait to merge until at least Thu, Jan 16, in order to give @MSNev time to check in with the JS SIG on Wed, Jan 15

@nev has confirmed #4352 (comment), merging the PR now.

@reyang reyang merged commit cf2f7b6 into open-telemetry:main Jan 15, 2025
6 checks passed
@pellared pellared deleted the emit-with-event-name branch January 15, 2025 22:52
pellared added a commit to open-telemetry/opentelemetry-go that referenced this pull request Jan 17, 2025
Reason:
open-telemetry/opentelemetry-specification#4352

Prior-art: #6018
Support for `EventName` field will be added in separate PRs.
@carlosalberto carlosalberto mentioned this pull request Jan 22, 2025
carlosalberto added a commit that referenced this pull request Jan 22, 2025
### Logs

- Remove the deprecated Events API and SDK in favor of having Events
support in the Logs API and SDK.

([#4353](#4353))
- Remove `Logger`'s Log Instrumentation operations.

([#4352](#4352))
- Make all `Logger` operations user-facing.

([#4352](#4352))

### SDK Configuration

- Clarify that implementations should interpret timeout environment
variable values of zero as no limit (infinity).

([#4331](#4331))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog.opentelemetry.io spec:logs Related to the specification/logs directory

Projects

Status: Done
Status: Done