Skip to content

docs(rum): state the setTrackNetworkRequests prerequisite for HarmonyOS network tracking - #243

Open
Fiona2016 wants to merge 1 commit into
mainfrom
docs/harmony-network-tracking-prereq
Open

docs(rum): state the setTrackNetworkRequests prerequisite for HarmonyOS network tracking#243
Fiona2016 wants to merge 1 commit into
mainfrom
docs/harmony-network-tracking-prereq

Conversation

@Fiona2016

Copy link
Copy Markdown
Contributor

What

The HarmonyOS RUM integration page documents two network integration paths — the rcp interceptor and the FlashcatHttp wrapper — but never says that both require setTrackNetworkRequests(true), which defaults to false. Following that section alone produces no resource events, with nothing in the page explaining why.

The default value was only stated in the configuration table on the advanced-config page, far from where readers wire up networking.

Changes

  • Integration page — the network section now states the toggle requirement up front, and a note spells out that plain http.createHttp() is not hooked automatically. This matches how the view and tap sections already call out setTrackNavigation(true) / setTrackUserInteractions(true).
  • Data collection page — the three resource-generating paths now say which ones the toggle gates. The manual startResource() / stopResource() API bypasses the event-bus path the toggle checks, so it is unaffected; the list previously implied all three behaved the same.

Both zh and en updated. mint broken-links passes.

…OS network tracking

The network integration section explained the rcp interceptor and the FlashcatHttp
wrapper but never mentioned that both need `setTrackNetworkRequests(true)`, which
defaults to false. Readers who followed only that section got no resource events
and had no hint why. The view and tap sections already state their own toggles,
so this brings the network section in line.

Also note that plain `http.createHttp()` is not hooked, and mark the manual
resource API as unaffected by the toggle — it bypasses the bus path the toggle
gates.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant