Skip to content
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

Logs API/SDK - Move LogRecord implementation details from API to SDK #1189

Closed
lalitb opened this issue Aug 7, 2023 · 0 comments · Fixed by #1702
Closed

Logs API/SDK - Move LogRecord implementation details from API to SDK #1189

lalitb opened this issue Aug 7, 2023 · 0 comments · Fixed by #1702
Assignees
Labels
A-log Area: Issues related to logs priority:p2 Medium priority issues and bugs. release:required-for-stable Must be resolved before GA release, or nice to have before GA. triage:accepted Has been triaged and accepted. version:breaking Tag PR which will make breaking changes. Same as bumping the "major" in semver. https://semver.org/

Comments

@lalitb
Copy link
Member

lalitb commented Aug 7, 2023

As of now, the Logs API contains the implementation details for creation of LogRecord object. This should be ideally moved to SDK. The API should have minimal implementation details and storage allocation, and hence minimal performance overhead. Anyone wanting to create custom logs SDK will otherwise have to bear the baggage of these allocations happening in API.

This is also how trace signal is implemented, API has a Span trait, and it's Noop implementation, while the implementation details are in the Span structure in SDK.

@lalitb lalitb self-assigned this Aug 7, 2023
@cijothomas cijothomas added the A-log Area: Issues related to logs label Aug 7, 2023
@TommyCpp TommyCpp added priority:p2 Medium priority issues and bugs. triage:accepted Has been triaged and accepted. version:breaking Tag PR which will make breaking changes. Same as bumping the "major" in semver. https://semver.org/ labels Aug 8, 2023
@hdost hdost added this to the Logging Bridge API Stable milestone Feb 21, 2024
@hdost hdost added the release:required-for-stable Must be resolved before GA release, or nice to have before GA. label Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-log Area: Issues related to logs priority:p2 Medium priority issues and bugs. release:required-for-stable Must be resolved before GA release, or nice to have before GA. triage:accepted Has been triaged and accepted. version:breaking Tag PR which will make breaking changes. Same as bumping the "major" in semver. https://semver.org/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants