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 SDK: Logging Handler bridge populates unstable code attributes #4316

Open
lmolkova opened this issue Nov 23, 2024 · 0 comments
Open

Logs SDK: Logging Handler bridge populates unstable code attributes #4316

lmolkova opened this issue Nov 23, 2024 · 0 comments
Labels

Comments

@lmolkova
Copy link
Contributor

lmolkova commented Nov 23, 2024

attributes[SpanAttributes.CODE_FILEPATH] = record.pathname
attributes[SpanAttributes.CODE_FUNCTION] = record.funcName
attributes[SpanAttributes.CODE_LINENO] = record.lineno

There is no formal conventions defining if logs SDK/bridges should populate code attributes. Also, those attributes are not stable (yet).

The recommendation is to

Part of open-telemetry/community#1751

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants