molesignal_flutter library
Classes
- MemoryRumPersistence
- In-memory persistence useful for tests and privacy-sensitive applications.
- MoleSignalHttpClient
-
A composable
package:httpclient that records outgoing resources. - MoleSignalRumClient
- Flutter implementation of the MoleSignal RUM client.
- RumApp
- Root instrumentation widget for replay and automatic Flutter interactions.
- RumBeforeSendContext
- Context supplied to RumBeforeSend.
- RumClient
- Public operations supported by a MoleSignal RUM client.
- RumConfiguration
- Configuration accepted by initRum.
- RumFlushResult
- Outcome of a bounded transport flush or stop operation.
- RumInternalContext
- Public context that can be forwarded to logs or traces created by the app.
-
Records visible named routes as RUM
viewactions. - RumPerformanceMetric
- A manually supplied performance metric from a platform integration.
- RumPersistence
- Small key/value persistence abstraction used by sessions and anonymous IDs.
- RumReplayBlock
- Replaces an entire sensitive subtree with an opaque block in replay.
- RumReplayMask
- Masks an entire subtree in captured replay frames.
- RumResource
- A manually or automatically measured network request.
- RumSessionReplay
- Captures privacy-processed Flutter frames into rrweb-compatible events.
- RumSessionReplayConfiguration
- Screenshot replay controls for Flutter applications.
- RumStackFrame
- A privacy-safe stack frame that can be matched to an uploaded artifact.
- RumTraceContext
- W3C trace identifiers correlated with a network resource action.
- RumTransport
- Upload adapter used for application-owned ingestion proxies and tests.
- RumTransportRequest
- Request passed to a custom RumTransport.
- RumTransportResponse
- Response returned by a custom RumTransport.
- RumUser
- An identified application user plus optional custom attributes.
- RumUserAction
- Non-intrusively records a short, low-movement pointer gesture as a RUM tap.
- Persistent storage backed by the platform's shared-preferences service.
Enums
- RumArtifactKind
- Debug artifact type used to symbolicate a structured stack frame.
- RumEventKind
- The MoleSignal ingestion stream for an event.
- RumMetricClock
- Clock source used to produce a performance value.
- RumMetricUnit
- Unit used by a RumPerformanceMetric.
- RumPerformanceMetricKind
- Stable mobile performance metric names consumed by MoleSignal RUM.
- RumPrivacyLevel
- Controls whether raw error stacks may be uploaded.
Functions
-
defaultRumRouteNameResolver(
Route route) → String? -
getRum(
) → MoleSignalRumClient? - Returns the active process-wide client, if initialized.
-
initRum(
RumConfiguration configuration) → Future< MoleSignalRumClient> - Initializes and installs the process-wide MoleSignal RUM client.
Typedefs
- RumBeforeSend = bool? Function(RumContext event, RumBeforeSendContext context)
- Runs immediately before an event is queued.
-
RumContext
= Map<
String, Object?> - JSON-compatible custom dimensions attached to RUM events.
- RumDiagnosticHandler = void Function(RumDiagnostic diagnostic)
- RumRouteNameResolver = String? Function(Route route)
- Resolves a Flutter route into the view name sent to MoleSignal.
Exceptions / Errors
- RumDiagnostic
-
A non-fatal SDK diagnostic delivered through
RumConfiguration.onError.