JavaScript Browser SDK
Frontend instrumentation for replay, metrics, and propagation
Install
Configuration
Quick start
Production hardening
- Use environment-scoped keys.
- Mask sensitive fields before custom attributes.
- Control replay sampling via env vars.
- Validate ingestion in
/v1/logsand/v1/replay/index.
Troubleshooting
- No data: verify
OBTRACE_INGEST_BASE_URLand CORS. - No replay: confirm initialization in browser runtime.
- Enable debug logs in non-production environments.