farol 0.1.2 copy "farol: ^0.1.2" to clipboard
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 headersProvider contract: collector credentials only — never forward an end user's authorization token. 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: pushError now 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 an authorization header) and the raw HTTP response body; the unhandled-exception path fed exactly such values into telemetry. The whole gRPC Error (...) block is replaced with its numeric code, and plain-text Bearer <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 (HttpFaroTransport default, FakeTransport for tests).
  • Pluggable headersProvider for auth (API key, bearer token, etc.).
  • beforeSend hook for payload scrubbing/filtering before transport.
1
likes
160
points
254
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Grafana-Faro-compatible Real User Monitoring (RUM) client for Dart, with first-class gRPC support.

Repository (GitHub)
View/report issues

Topics

#observability #rum #faro #telemetry #monitoring

License

Apache-2.0 (license)

Dependencies

http, meta

More

Packages that depend on farol