Skip to content

Releases: cboxdk/telemetry-browser

v0.1.0-alpha.5 — analytics channel

Pre-release

Choose a tag to compare

@sylvesterdamgaard sylvesterdamgaard released this 04 Jul 21:56

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 history navigations the server never sees, with document.referrer + previous path.
  • Engagement — visible time + scroll depth, summarised on page hide.
  • track(name, properties) for custom conversions/goals.
  • Screen size + devicePixelRatio device dimensions.

v0.1.0-alpha.4 — shared session.id

Pre-release

Choose a tag to compare

@sylvesterdamgaard sylvesterdamgaard released this 04 Jul 21:29

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

Pre-release

Choose a tag to compare

@sylvesterdamgaard sylvesterdamgaard released this 04 Jul 19:59

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-origin traceparent propagation, 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-ui cross-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.)