InstrumentationsConfig class

Dart-layer auto-instrumentation toggles for VuTelemetry.initialize.

Only signals the SDK can install at init are gated here. App-wired instrumentation (navigation RouteObserverService, Dio via vunet_flutter_plugin_dio, TrackedHttpClient, clicks, custom actions) is unchanged by these flags.

Constructors

InstrumentationsConfig({bool errors = true, bool http = false, bool jankDetection = false})
const

Properties

errors → bool
When true, install UI (FlutterError.onError) and platform (PlatformDispatcher.onError) error handlers. Defaults to true.
final
hashCode → int
The hash code for this object.
no setterinherited
http → bool
When true, install TrackedHttpOverrides as HttpOverrides.global (covers dart:io HttpClient). Does not instrument Dio — use vunet_flutter_plugin_dio (attachInstrumentedDio) per Dio instance. Defaults to false.
final
jankDetection → bool
When true, start frame jank monitoring (app.jank spans using the Android-style schema, plus app.jank.type). Defaults to false.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited