← All blogs

dust blog

Trace One API Call

Dust code snapshot showing a Flutter API client and dust_server tracing

Trace one API call.

Flutter sends the request.

The generated Dust HTTP client maps the traceparent header.

dust_server reads that header and records the server span.

The response sends traceparent back.

Now the app request and server work can be matched.

Keep trace data safe. Use ids. Do not add tokens, emails, or request bodies.

Docs used: Flutter DevTools Network view, Dust HTTP header parameters, dust_server tracing, and dust_server middleware.

#Dust #DustServer #HTTPClient #Flutter