Skip to content

Add dedicated buffering module #2273

@cforce

Description

@cforce

Component(s)

No response

Is your feature request related to a problem? Please describe.

Currently, OpenTelemetry (Android) does not have a dedicated buffering module. This feature would be highly useful in scenarios where telemetry data cannot be immediately exported (e.g., due to network outages, app backgrounding, or battery optimization).

A buffering module (similar to what exists in opentelemetry-disk-buffering)

io.opentelemetry.contrib opentelemetry-disk-buffering 1.36.0-alpha runtime

would allow telemetry data to be persisted temporarily (e.g., on disk or in memory) and exported later once the system conditions allow it.

Motivation / Use Cases:

  • Ensure telemetry data is not lost during intermittent connectivity.
  • Improve reliability in mobile environments where background restrictions frequently interrupt telemetry export.
  • Enable developers to configure buffer size, flush intervals, and persistence strategy (disk vs. memory).

Describe the solution you'd like

Describe alternatives you've considered

No response

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions