Skip to content

Log stabilization current PRs overview #4750

@xrmx

Description

@xrmx

Plan

PR/issue impact alternatives notes
#4676 Removal of sdk LogData (no substitute) and LogRecord (now ReadableLogRecord and ReadWriteLogRecord). Change of typing in LogRecordProcessor.on_emit, in LogExporter.export. This will break openllmetry tests if they test against latest MERGED
#4654 deprecations of _events, typechecking issues for users MERGED
#4647 Renames a bunch of sdk and exporter Log related classes, some of the sdk classes are touched in #4676 . Most if not all the old classes names are kept around with a deprecation notice MERGED
open-telemetry/opentelemetry-python-contrib#3628 none MERGED, t, nlu
open-telemetry/opentelemetry-python-contrib#3626 none MERGED t, nlu
open-telemetry/opentelemetry-python-contrib#3625 none MERGED t, nlu
open-telemetry/opentelemetry-python-contrib#3624 none MERGED, t, nlu
#4319 this contains a suggestion to change the signature of Logger.emit to take separated params instead of a a LogRecord, this can break all the genai instrumentations we can do an implementation having both LogRecord and deprecate it later? e.g. #4737 MERGED
#4330 When moving the loggingHandler from sdk to separate instrumentation, people without the logging instrumentation installed will lose the functionality MERGED open-telemetry/opentelemetry-python-contrib#4263, #4919, open-telemetry/opentelemetry-python-contrib#4210
open-telemetry/opentelemetry-python-contrib#4112 Removal of out of spec attributes from opentelemetry-instrumentation-logging when log formatting is not configured MERGED

nlu = introduce a new direct users for _logs api
t = can be used as testbed for out of tree users

Feedback

issue impact notes fixed
#4836 warnings when using test utils from #4654 yes
#4783 confusion handled by #4676, yes
#4838 breakage we can probably re-export LogData as deprecated inherited from ReadableLogRecord no

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions