Skip to content

Logging stability review: [minor] No force_flush on LogRecordExporter #5359

Description

@lmolkova

Spec: Logs SDK § LogRecordExporter — operations: Export, ForceFlush, Shutdown.

  • Recommended (SHOULD): ForceFlush lets a buffering exporter flush received records on demand.
  • Current: LogRecordExporter ABC defines only export + shutdown. The force_flush methods in the logs export module belong to the processors (SimpleLogRecordProcessor, BatchLogRecordProcessor), not the exporter.
  • Missing: LogRecordExporter.force_flush. Both SpanExporter and MetricExporter define it — logs is the only signal exporter without it.

Part of open-telemetry/community#1751

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