Network
Optional fetch / XHR wrapping records method, scrubbed URL, status, duration, and initiator. RUM ingest URLs are never recorded as network beacons.
What is captured#
When network is enabled (default true), the SDK patches fetch and XMLHttpRequest and emits network beacons with:
method,url(query scrubbed),status,durationMsinitiator—fetchorxhr
Request and response bodies are never collected.
Propagation#
For same-origin requests (and never toward the RUM ingest URL), when tracePropagation is true (default), the SDK adds:
- W3C
traceparent X-Mydle-Session-ID
That joins browser sessions with distributed traces on your origin.
Configuration#
mydle.init({
projectKey: "pk_live_…",
network: true,
tracePropagation: true,
});
// Disable network capture entirely:
mydle.init({ projectKey: "pk_live_…", network: false });Dashboard#
/app/browser → Network lists recent, slow, and failed requests from stored beacons.
Limitations
- Third-party / cross-origin calls are not fully instrumented the same way; propagation headers are same-origin only.
- Calls to the configured RUM ingest endpoint are excluded from network beacons.
- No HAR export or request body inspection.