-
Notifications
You must be signed in to change notification settings - Fork 722
Open
Labels
Description
LogData does not serve any specific purpose besides adding instrumentation scope to the LogRecord
.
It would be more efficient and easier to use if SDK version of the LogRecord
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
LogRecord
should have instrumentation scope property - SDK
Logger
implementation should populate instrumentation scope on the log record when it's created or emitted -
LogRecordProcessor.on_emit
should takeLogRecord
as a parameter -
LogExporter.export
should takeSequence[LogRecord]
as parameters
See prototype in lmolkova@ac81b5e#diff-36f9acf9eab5e742a5a9c25b30236b688323375867ba50caf3fdea8ec6a7d91f
Part of open-telemetry/community#1751
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
In Progress