-
Notifications
You must be signed in to change notification settings - Fork 48
Open
Description
From open-telemetry/semantic-conventions#1651 OTel is moving toward just using OTel LogEntry.attributes and not using the body.
- The GenAI semantic conventions are already following this, since everything goes in attributes https://github.com/open-telemetry/semantic-conventions/blob/v1.37.0/docs/gen-ai/gen-ai-events.md#event-eventgen_aiclientinferenceoperationdetails
- OTel python's LogHandler puts the extra param from
logging.info(..., extra={...})
(structured log message) into attributes (code, and test case).
This doesn't work well for Cloud Logging because labels only support string values and are expected to be small. We still need some way to export this data though.
Metadata
Metadata
Assignees
Labels
No labels