open-telemetry / open-telemetry/opentelemetry-java-contrib

Add dedicated buffering module

Open
#2,273 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Java
Stars
269
Forks
196
Avg merge
2d 7h
Merged PRs (30d)
38

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing opentelemetry-disk-buffering module and the related opentelemetry-android issue #1103. Define the Android module's scope and storage approach before implementation. Done means telemetry can be buffered and exported later, with the requested configuration for buffer size, flush intervals, and storage strategy.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile, observability
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.