fleet icon indicating copy to clipboard operation
fleet copied to clipboard

Android: Support 'Roaming' vital via local (on-device) SDK

Open Leanngove opened this issue 3 months ago • 8 comments

Some context:

  • https://github.com/fleetdm/fleet/pull/40261
  • https://github.com/fleetdm/fleet/pull/43924

Goal

User story
As an IT admin managing Android devices,
I want Fleet to collect the Roaming vital via local SDKs
so that I have full vitals coverage in addition to the AMAPI-sourced vitals added in #49791.

Background

This is a follow-up to #49791 ("Android: More host vitals"). While scoping that story, we identified vitals that AMAPI cannot provide and that would require collecting data locally on the device (e.g. via a local/on-device SDK) rather than through Google's cloud API:

  • Roaming / data roaming — not exposed by AMAPI

Changes

Product

  • [ ] UI changes: Figma wireframes
  • [ ] CLI (fleetctl) usage changes: No changes
  • [ ] YAML changes: No changes
  • [ ] REST API changes: return new vital when running GET /api/v1/fleet/hosts/:id, GET /api/v1/fleet/hosts/identifier/:identifier, GET /api/v1/fleet/device/:token
  • [ ] Fleet's agent (fleetd) changes: No changes
  • [ ] Fleet server configuration changes: No changes
  • [ ] Exposed, public API endpoint changes: No changes
  • [ ] fleetdm.com changes: No changes
  • [ ] GitOps mode UI changes: No changes
  • [ ] GitOps generation changes: No changes
  • [ ] Activity changes: No changes
  • [ ] Permissions changes: No changes
  • [ ] Changes to paid features or tiers: No changes
  • [ ] My device and fleetdm.com/better changes: No changes
  • [ ] Usage statistics: No changes
  • [ ] Other reference documentation changes: No changes
  • [ ] First draft of test plan added
  • [ ] Once shipped, requester has been notified
  • [ ] Once shipped, dogfooding issue has been filed

Engineering

  • [ ] Test plan is finalized
  • [ ] Contributor API changes: TODO
  • [ ] Feature guide changes: TODO
  • [ ] Database schema migrations: TODO
  • [ ] Load testing: TODO
  • [ ] Pre-QA load test: TODO
  • [ ] Load testing/osquery-perf improvements: TODO

Risk assessment

  • Requires testing in a hosted environment: TODO
  • Requires load testing: TODO
  • Risk level: TODO
  • Risk description: TODO

Test plan

Core flow

  • Roaming (e.g. connecting to a different carrier's network when you're outside your home provider's coverage area) will now show up as a vital in Host details for Android hosts

Edge cases

  • TODO

Leanngove avatar Aug 07 '26 23:08 Leanngove

Hey @Leanngove thanks for writing this story up.

Just a reminder, if you think this is work we want to prioritize, please add it to the release planning board w/ a milestone. Otherwise we'll lost track of it. I did it this time.

Also, I think let's update the story, and it's title, to reflect the additional host vitals we want to collect. The require local SDK part is "the how" but what vitals exactly are we adding? I think we want that to be clear in the story.

noahtalerman avatar Aug 19 '26 13:08 noahtalerman

@noahtalerman thanks!

In terms of the vitals that we are adding, it's currently only Roaming. We were able to find the other vitals with AMAPI.

I wasn't sure if this warranted filing a story issue for? But also not sure if it fits a 'quick win'... this vital isn't high priority for Cisneros.

Leanngove avatar Aug 19 '26 16:08 Leanngove

I wasn't sure if this warranted filing a story issue for?

@Leanngove I think it does!

Keep in mind that we try to make stories the smallest change possible that ships value for users/customers. I'd say adding one vital hits the mark 🎯

noahtalerman avatar Aug 19 '26 16:08 noahtalerman

Create a POC

ksykulev avatar Oct 05 '26 17:10 ksykulev

Hey @Leanngove next time, can you please assign the Tech Lead (Konstantin) after a story is reviewed at user story review? https://github.com/fleetdm/fleet/pull/54813

That way it's clear who's responsible for getting the story to "Ready"

We did it this time during sprint planning today.

noahtalerman avatar Oct 05 '26 17:10 noahtalerman

Makes sense, will do @noahtalerman !

Leanngove avatar Oct 05 '26 19:10 Leanngove

Hey @georgekarrv - Tagging this as an activation blocker for custom-rosner's BYOD deployment. I'd like to keep this in v5.2.0 if possible

pintomi1989 avatar Oct 30 '26 19:10 pintomi1989

Can do. This is still the timeline of 5.2.0. We are planning a mid sprint minor release so the numbers incremented but the dates stayed the same.

georgekarrv avatar Nov 02 '26 19:11 georgekarrv