farol 0.1.2
farol: ^0.1.2 copied to clipboard
Grafana-Faro-compatible Real User Monitoring (RUM) client for Dart, with first-class gRPC support.
0.1.2 #
- Documented the
headersProvidercontract: collector credentials only — never forward an end user'sauthorizationtoken. If the collector does not validate ingest auth, such a token only leaks into intermediary logs. (Docs-only release; no behavior change.)
0.1.1 #
- Security:
pushErrornow redacts secrets from the stringified error before it leaves the process (redactSecrets, also exported for direct use).GrpcError.toString()interpolates response trailers (which can echo anauthorizationheader) and the raw HTTP response body; the unhandled-exception path fed exactly such values into telemetry. The wholegRPC Error (...)block is replaced with its numeric code, and plain-textBearer <token>/authorization: <value>occurrences are redacted anywhere in the message. - Dartdoc comments across the public API.
0.1.0 #
Initial public release.
- Faro-compatible RUM client: logs, events, measurements, exceptions.
- Batching buffer with configurable batch size / interval / queue cap.
- Session controller (sample rate, inactivity timeout, reset).
- Pluggable
FaroTransport(HttpFaroTransportdefault,FakeTransportfor tests). - Pluggable
headersProviderfor auth (API key, bearer token, etc.). beforeSendhook for payload scrubbing/filtering before transport.