- Notifications
You must be signed in to change notification settings - Fork777
Closed
Labels
Description
LogData does not serve any specific purpose besides adding instrumentation scope to theLogRecord.
It would be more efficient and easier to use if SDK version of theLogRecord included instrumentation scope and was used directly by the processing pipeline.
Spec allows this via
The SDK may also use a single type to represent both ReadableLogRecord and ReadWriteLogRecord.
Specific changes:
- SDK implementation of the
LogRecordshould have instrumentation scope property - SDK
Loggerimplementation should populate instrumentation scope on the log record when it's created or emitted LogRecordProcessor.on_emitshould takeLogRecordas a parameterLogExporter.exportshould takeSequence[LogRecord]as parameters
See prototype inlmolkova@ac81b5e#diff-36f9acf9eab5e742a5a9c25b30236b688323375867ba50caf3fdea8ec6a7d91f
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done