flutter_sdk library

Public API for the vuTelemetry Flutter RUM SDK.

Import this library to initialise telemetry and add automatic/manual instrumentation:

Dio instrumentation lives in the separate vunet_flutter_plugin_dio package. cached_network_image instrumentation lives in vunet_flutter_plugin_cached_network_image.

Classes

InitializationParams
Configuration passed to VuTelemetry.initialize.
InstrumentationsConfig
Dart-layer auto-instrumentation toggles for VuTelemetry.initialize.
InteractionTypes
The set of interaction.type values emitted on ui.interaction spans.
RouteObserverService
A NavigatorObserver that emits a ui.navigation span on every top-level page transition and opens an action window so subsequent spans parent to the navigation.
ScreenNameSpanProcessor
Stamps the current screen name onto every span at start time.
TabObservation
A live subscription to a TabController's selection.
TrackedHttpClient
A package:http BaseClient wrapper that emits a client span for every request, injects W3C Trace Context Level 1 (traceparent version 00) into outbound headers, and records incubating HTTP catalog attributes and phase events.
TrackedHttpOverrides
HttpOverrides that instruments low-level dart:io HttpClient requests, emitting a client span with W3C Trace Context Level 1 (traceparent version 00) injected into headers.
VuAction
A scoped unit of work mapped to an OpenTelemetry span (Android/iOS VuAction parity).
VuImage
Thin widget helpers that use instrumented image providers.
VuIndexScope
Instruments a tab surface driven by a plain index and setState, where no controller exists — Material 3 NavigationBar, BottomNavigationBar, IndexedStack, or a PageView you drive yourself.
VuNetworkImage
Drop-in ImageProvider that emits Android-parity image.load spans.
VuTabScope
Instruments a TabController-driven tab surface.
VuTelemetry
Entry point for the vuTelemetry RUM SDK.

Enums

SdkLogLevel
Developer-facing verbosity for SDK diagnostic logs.

Functions

createInstrumentedHttpClient({SecurityContext? context}) HttpClient
Creates an HttpClient whose connectionFactory records DNS + TCP connect durations into the current HttpClientConnectTiming zone value.

Typedefs

HttpConnectionFactory = Future<ConnectionTask<Socket>> Function(Uri url, String? proxyHost, int? proxyPort)
Signature of HttpClient.connectionFactory.