Latency Feed
Tail latency powers Tail Health, Timing Score, and latency insights. Follow these steps to integrate percentile metrics with the Resonance agent intake API.
Collect p50, p95, p99 (and optionally p99.9) latency metrics from your gateway or service mesh. The agent consumes millisecond values per time window.
Call `sdk.metrics.recordLatency({ p50, p95, p99 })` in your service or batch exporter. The SDK handles schema validation and authentication.
Aim for minute-level updates so tail health and timing score can react quickly to regressions. Ensure timestamps align with the agent clock (UTC recommended).
Check `/dashboard/resonance-calculus` and the AI insights panel. Once data arrives, Tail Health and Timing Score cards switch from warnings to live values.
Use your observability tooling to trigger the SDK export when latency SLAs breach, ensuring Resonance has fresh data during incidents.