OpenTelemetry in the browser (Real User Monitoring / RUM) — capturing page loads, Core Web Vitals, route changes, clicks, console output, and JavaScript errors, and connecting frontend telemetry to backend traces. Covers the web tracing SDK (sdk-trace-web, context-zone), the experimental browser-sdk, and event- and span-based browser instrumentations. Use when adding, reviewing, or configuring OpenTelemetry in a web app (SPA/MPA). Triggers on "browser otel", "RUM", "real user monitoring", "frontend observability", "web vitals", "core web vitals", "sdk-trace-web", "WebTracerProvider", "browser-sdk", "browser-instrumentation", "instrument the frontend", "page load tracing", "session", or any browser/web OTel question.
$npx -y skills add ollygarden/opentelemetry-agent-skills --skill otel-browserInstalls into the current project.
Run `npx skills use "https://github.com/ollygarden/opentelemetry-agent-skills" --skill "ollygarden/opentelemetry-agent-skills/otel-browser"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/ollygarden/opentelemetry-agent-skills" that are relevant to the current task. Run `npx skills add "https://github.com/ollygarden/opentelemetry-agent-skills"` and select the relevant skills, then follow their instructions.