Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Feature Request: Ability to pause / resume network usage

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
32/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
android, kotlin

Research direction

No files or tests are named. Start by tracing the Android SDK's upload path and the existing tracking-consent mechanism, then define how an independent pause/resume API should behave for queued logs, traces, and spans. Done means the API and its behavior are specified and covered by tests.

Written by the indexing model from the issue text.

Description

enhancement
Feature description

We're currently working on something on Android which makes network connections over BLE and Wi-Fi and a VPN connection. We're finding that when the network comes up, it triggers a flood of datadog traffic which can crowd out some other important traffic our app requires to function. (mostly because we've been collecting logs while the phone has been offline, When these connections succeed, the phone comes back online, and datadog immediately starts sending logs / traces / spans etc.

It would be fantastic if we could independently pause / resume datadog uploading to the Internet so that we could do it a bit later on once the connection has stablized.

Since I couldn't find this type of API, we're currently we're using a bit of janky unpause / pause mechanism by setting tracking consent to pending and then depending on if the user has given permission or not, back to to granted in order to do this, but it would be nicer if we could just directly use an API call to pause / resume network traffic.

Proposed solution

No response

Other relevant information

No response

Dominant language
Kotlin
Stars
227
Forks
86
Avg merge
1d 15h
Merged PRs (30d)
74

Getting set up

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.

More from DataDog/dd-sdk-android

All issues in DataDog/dd-sdk-android

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.