-
Notifications
You must be signed in to change notification settings - Fork 897
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
Clarify parameters for emtting a log record #3354
Merged
jack-berg
merged 17 commits into
open-telemetry:main
from
alanwest:alanwest/logs-and-context
Apr 8, 2023
Merged
Clarify parameters for emtting a log record #3354
jack-berg
merged 17 commits into
open-telemetry:main
from
alanwest:alanwest/logs-and-context
Apr 8, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jack-berg
reviewed
Mar 31, 2023
jack-berg
approved these changes
Mar 31, 2023
reyang
approved these changes
Mar 31, 2023
cijothomas
reviewed
Mar 31, 2023
martinkuba
approved these changes
Apr 1, 2023
jack-berg
reviewed
Apr 3, 2023
jack-berg
reviewed
Apr 3, 2023
jack-berg
approved these changes
Apr 3, 2023
MSNev
approved these changes
Apr 5, 2023
tigrannajaryan
approved these changes
Apr 6, 2023
@alanwest please fix the build. |
reyang
reviewed
Apr 6, 2023
reyang
reviewed
Apr 6, 2023
reyang
reviewed
Apr 6, 2023
Co-authored-by: Reiley Yang <[email protected]>
…elemetry-specification into alanwest/logs-and-context
jack-berg
approved these changes
Apr 6, 2023
tigrannajaryan
approved these changes
Apr 6, 2023
Hey @alanwest can you add a changelog entry? |
alanwest
changed the title
Clarify that context is available to Emit LogRecord API
Clarify parameters for emtting a log record
Apr 8, 2023
carlosalberto
pushed a commit
to carlosalberto/opentelemetry-specification
that referenced
this pull request
Oct 31, 2024
Supersedes open-telemetry#3350 Clarifies the parameters for emitting a log record. Context was particularly confusing. Context is not a property of the `LogRecord` data model. Cleans up section of bridge API spec that seems to suggest that Context is a field of `LogRecord`. Also, clarifies that Context can be associated with an emitted LogRecord. We have similar language in the trace API that leaves room for languages to achieve this in an idiomatic way. See https://github.com/open-telemetry/opentelemetry-specification/blob/d25734a47e6534a1bc8a52cb2bd51d42e987024b/specification/trace/api.md?plain=1#L365-L370 --------- Co-authored-by: Reiley Yang <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Supersedes #3350
Clarifies the parameters for emitting a log record.
Context was particularly confusing. Context is not a property of the
LogRecord
data model. Cleans up section of bridge API spec that seems to suggest that Context is a field ofLogRecord
. Also, clarifies that Context can be associated with an emitted LogRecord. We have similar language in the trace API that leaves room for languages to achieve this in an idiomatic way. Seeopentelemetry-specification/specification/trace/api.md
Lines 365 to 370 in d25734a