Files
wehub-resource-sync 26382a7ac6
CI / Clippy (push) Failing after 15m13s
CI / Test (ubuntu-latest) (push) Failing after 16m1s
CI / Test (macos-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Build (no embeddings / no ORT) (push) Has been cancelled
CI / Format (push) Has been cancelled
CI / Cookbook (Node) (push) Has been cancelled
CI / Pi Extension (Node) (push) Has been cancelled
CI / Rust SDK (lean-ctx-client) (push) Has been cancelled
CI / Embed SDK (lean-ctx-sdk) (push) Has been cancelled
CI / Python SDK (leanctx) (push) Has been cancelled
CI / Hermes Plugin (Python) (push) Has been cancelled
CI / SDK Conformance Matrix (push) Has been cancelled
CI / Coverage (push) Has been cancelled
CI / cargo-deny (push) Has been cancelled
CI / Adversarial Safety (push) Has been cancelled
CI / Benchmarks (push) Has been cancelled
CI / Output-Quality Gate (eval A/B) (push) Has been cancelled
CI / Documentation (push) Has been cancelled
CI / CI Green (push) Has been cancelled
JetBrains Plugin / Actionlint (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
CodeQL / Analyze (rust) (push) Has been cancelled
JetBrains Plugin / Validation (push) Has been cancelled
JetBrains Plugin / Build (push) Has been cancelled
JetBrains Plugin / Test (push) Has been cancelled
Security Check / Security Scan (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:35:30 +08:00

34 lines
1001 B
TOML

# Hosted-index SLO gate (GL #391) — drop this file into the team server's
# data dir as `slos.toml` (e.g. ~/.lean-ctx/slos.toml on the host) to arm the
# three GA-gate objectives for the hosted semantic index.
#
# Metrics are fed by the team server's request instrumentation
# (`/v1/metrics` → `slo` block, or `/v1/metrics?format=prometheus`):
#
# team_query_p95_ms rolling p95 latency over /v1 routes (ms)
# team_availability_pct share of non-5xx responses in the rolling window
# team_index_lag_seconds seconds since the last successful index write
#
# Operational runbook: docs/guides/hosted-index-slo.md
[[slo]]
name = "hosted_index_latency"
metric = "team_query_p95_ms"
threshold = 500
direction = "max"
action = "warn"
[[slo]]
name = "hosted_index_availability"
metric = "team_availability_pct"
threshold = 99.5
direction = "min"
action = "warn"
[[slo]]
name = "hosted_index_freshness"
metric = "team_index_lag_seconds"
threshold = 300
direction = "max"
action = "warn"