home / skills / harborgrid-justin / lexiflow-premium / instrumentation-and-telemetry
/frontend/.github-skills/instrumentation-and-telemetry
This skill helps you implement deep instrumentation pipelines for tracing, metrics, and real-user monitoring in React apps.
npx playbooks add skill harborgrid-justin/lexiflow-premium --skill instrumentation-and-telemetryReview the files below or copy the command above to add this skill to your agents.
---
name: instrumentation-and-telemetry
description: Implement deep instrumentation pipelines for tracing, metrics, and real-user monitoring of React apps.
---
# Instrumentation and Telemetry (React 18)
## Summary
Implement deep instrumentation pipelines for tracing, metrics, and real-user monitoring of React apps.
## Key Capabilities
- Capture render timings and scheduler lane metadata.
- Correlate UI performance with backend latency traces.
- Build dashboards for critical UX metrics (TTI, INP, CLS).
## PhD-Level Challenges
- Develop sampling strategies that preserve tail events.
- Formalize trace causality across async boundaries.
- Validate telemetry accuracy with synthetic benchmarks.
## Acceptance Criteria
- Provide a trace dashboard and sample data pipeline.
- Demonstrate correlation between UI and API latencies.
- Document sampling and privacy constraints.
This skill implements deep instrumentation pipelines for React 18 applications to capture tracing, metrics, and real-user monitoring data. It focuses on tying UI render behavior to backend traces and producing dashboards for key UX metrics like TTI, INP, and CLS. The goal is reliable, privacy-aware telemetry that supports performance debugging and SLOs.
The implementation instruments React scheduler and render timings to capture render durations, lane metadata, and interaction contexts. It correlates client-side events with backend traces using shared trace IDs and a sample data pipeline that exports spans and metrics to observability backends. The package includes a sample dashboard configuration and synthetic benchmark hooks to validate telemetry accuracy.
Does this require changes to backend services?
Minimal changes: propagate a trace ID header from the client and ensure backends respect and forward the header to maintain end-to-end traces.
How do you protect user privacy?
Telemetry omits or hashes PII by default and documents sampling and retention rules; you can configure stricter redaction policies per compliance needs.