RFC 0002: Docs Search KPI Policy and SLO Thresholds

Metadata

Goals and non-goals

This policy sets targets for docs search quality and what to do when numbers move out of range.

Goals

Non-goals

Canonical KPI definitions

Data source: GET /internal/telemetry/docs-search/metrics?window_minutes=<N>.

Targets (rolling 7-day window)

KPI Target Warning threshold Breach threshold
Zero-result rate ≤ 12% > 12% and ≤ 18% > 18%
Query CTR ≥ 45% < 45% and ≥ 35% < 35%
TTFS p50 ≤ 25s > 25s and ≤ 40s > 40s
TTFS p75 ≤ 60s > 60s and ≤ 90s > 90s

Operating cadence

Response playbook

Warning (one KPI in warning for 2+ days)

  1. Look at top zero-result queries and low click-through queries.
  2. Rebuild the index: python3 scripts/build_docs_search_index.py.
  3. Check recent content or nav changes that could hurt ranking.

Breach (any KPI in breach for 24h)

  1. Open a backlog item and assign an owner to fix within 48h.
  2. Run the checks in RFC 0001 (local validation + telemetry).
  3. Fix quickly: rebuild index, roll back ranking changes, or fix nav/content.
  4. If users see clearly worse search, add a short runbook or changelog note.

Runbook links

Change management

Page history

Date Change Author
Added Page history section (repository baseline). Ivan Boyarkin