Releases: cboxdk/telemetry-browser
Releases · cboxdk/telemetry-browser
Release list
v0.1.0-alpha.5 — analytics channel
Unsampled analytics channel — set analytics: true (or let @telemetryBrowser emit data-analytics when the Laravel package's analytics is on). Emits events (never sampled away) to the ingest endpoint's events key:
- SPA page views on
historynavigations the server never sees, withdocument.referrer+ previous path. - Engagement — visible time + scroll depth, summarised on page hide.
track(name, properties)for custom conversions/goals.- Screen size +
devicePixelRatiodevice dimensions.
v0.1.0-alpha.4 — shared session.id
Adopt a server-provided session.id via the new session config option (and data-session on the standalone script), so browser and server spans share one visit key. Emitted automatically by the Laravel package's @telemetryBrowser directive when telemetry.analytics is on.
v0.1.0-alpha.1 — browser RUM SDK
First release — the deep browser RUM SDK for cboxdk/laravel-telemetry.
- Auto-instrumentation: page load (navigation timing), Web Vitals (LCP/CLS/INP/FCP/TTFB),
fetch+ XHR with same-origintraceparentpropagation, uncaught errors, SPA route changes. - Backend-aligned dimensions (
src/semconv.ts) so a browser span and the backend span it triggered filter by the same keys —telemetry-uicross-links them. - ~6 KB gzipped, no
@opentelemetry/*deps. Builds: ESM, CJS,.d.ts, and a standalone IIFE that auto-inits from its<script data-*>tag. - Manual API:
record,error,setUser,setAttributes,traceId,flush.
Verified locally: typecheck + 8 tests + build all green. (CI is currently blocked by a GitHub Actions billing/spending-limit setting on the org — not the code.)