open-telemetry / open-telemetry/opentelemetry-java-contrib
Add dedicated buffering module
Nobody has claimed this yet.
- 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)
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
-
Introduce a
disk-bufferinga option / module which can be used inopentelemetry-android. -
Reuse concepts and implementation patterns from existing buffering modules.
-
Allow configurable storage backends (eg in-memory, file-based, SQLite).
-
Related discussion: [open-telemetry/opentelemetry-android#1103](https://github.com/open-telemetry/opentelemetry-android/issues/1103)
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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