otel_flutter_secure_storage library
OpenTelemetry instrumentation for package:flutter_secure_storage.
Enums
- SecureStorageSemantics
-
Key-value-store attribute keys for
FlutterSecureStorage.
Extensions
- OTelFlutterSecureStorage on FlutterSecureStorage
-
Traced operations on
FlutterSecureStorage.
Functions
-
runWithoutSecureStorageInstrumentation<
T> (T body()) → T -
Runs
bodywith secure-storage instrumentation suppressed:traced*calls inside it invoke the underlying operation without opening a span. -
runWithoutSecureStorageInstrumentationAsync<
T> (Future< T> body()) → Future<T> - Async variant of runWithoutSecureStorageInstrumentation.
-
secureStorageInstrumentationSuppressed(
) → bool - Whether secure-storage instrumentation is suppressed in the current Zone (see runWithoutSecureStorageInstrumentation).
-
tracedSecureStorageCall<
R> ({required String operation, String? key, required Future< R> invoke()}) → Future<R> -
Generic helper. Opens a CLIENT span named
secure_storage <operation> [<key>]carryingstorage.system=flutter_secure_storage,storage.operation=<operation>, andstorage.key=<key>(when supplied). Never records the value.