1. Collecting #
The essentials, cleanly.
Principles #
- Application name, version and environment always set.
- Default web instrumentations + fetch traces to your APIs.
- Source maps available to the receiver, not necessarily public.
- Business events on key journey steps (not on every click).
- Session sampling on high-traffic sites.
2. Protecting #
Receiver and data.
Security and GDPR #
- CORS limited to your domains, API key, rate limiting in front of the receiver.
- No direct personal data; URLs cleaned by
beforeSend. - Collection conditional on consent if it is not strictly necessary.
- Short retention in Loki.
3. Using the data #
Indicators that guide decisions.
Rituals #
- Web Vitals p75 per page and per version in each front-end team's dashboard.
- Alert on rising exceptions after a deployment.
- Monthly review of pages rated « poor » by Core Web Vitals.
- User experience SLO (for example 75% of visits with an LCP < 2.5 s).
Reference diagram and quick check #
Checklist.
Checklist #
- SDK initialized with version and environment
- Secured Alloy receiver
- Logs to Loki, traces to Tempo
- traceparent propagation allowed by the APIs
- Web Vitals and errors dashboard
- Privacy policy up to date
