otel_flutter_secure_storage 0.2.0 copy "otel_flutter_secure_storage: ^0.2.0" to clipboard
otel_flutter_secure_storage: ^0.2.0 copied to clipboard

OpenTelemetry instrumentation for `package:flutter_secure_storage`. Wraps secure-storage reads / writes with key-aware spans, NEVER recording the value (credentials).

Changelog #

0.2.0 - 2026-08-10 #

Changed #

  • flutter_secure_storage constraint widened to >=9.0.0 <12.0.0 (verified against 9.2.4 and 11.0.0).
  • storage.* attribute keys are now the exported SecureStorageSemantics enum (OTelSemantic) instead of raw string literals. Emitted keys are unchanged.

Added #

  • example/example.md.
  • Dartdoc for the suppression API.

0.1.0-beta.1 - 2026-05-16 #

Added #

  • Extension methods on FlutterSecureStorage: tracedWrite, tracedRead, tracedDelete, tracedDeleteAll, tracedContainsKey. Each opens a CLIENT span named secure_storage <op> <key> with storage.system=flutter_secure_storage, storage.operation, storage.key.
  • Values are never recorded on the span — by definition, secure storage holds credentials and sensitive data.
  • tracedSecureStorageCall<R>({operation, key, invoke}) — generic helper for testing or custom backends.
  • Zone-scoped suppression (runWithoutSecureStorageInstrumentation and the async variant).
  • 4 tests via the generic helper (span shape with key, span shape without key, exception path, suppression scope).
0
likes
160
points
72
downloads

Documentation

API reference

Publisher

verified publisherdartastic.io

Weekly Downloads

OpenTelemetry instrumentation for `package:flutter_secure_storage`. Wraps secure-storage reads / writes with key-aware spans, NEVER recording the value (credentials).

Homepage
Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

dartastic_opentelemetry, dartastic_opentelemetry_api, flutter, flutter_secure_storage

More

Packages that depend on otel_flutter_secure_storage