telemetry-sdk-patterns
Zero-dependency browser telemetry SDK. Batching queue with retry and beacon drain, micro-frontend event bridge, pluggable auth adapter, delegated auto-capture. 24 tests. Live in-page demo in the repo README.
Patterns shipped
- Batching queue with retry and beacon drain.
- Micro-frontend event bridge over postMessage.
- Pluggable auth adapter.
- Delegated auto-capture — one document listener, not per-element wiring.
- 24 tests, TypeScript source, in-page demo in the repo.
What's in the repo
Full TypeScript source, 24 unit tests, an in-page demo page, and design notes for each pattern.