Choose what this site may use

This site uses strictly necessary cookies to work and to remember your privacy choices. With your permission it would also load content hosted by other services, such as videos, maps and fonts, which then receive your network address and device data. We do not sell or share your personal information and we run no advertising. Choose Accept all, Reject all or Customise. You can change your mind at any time through Privacy choices at the foot of every page.

  • Always on

    Needed for the site to work and to remember your privacy choices. Always on.

  • Remembers settings you choose, such as the light or dark display, in your browser.

  • Loads videos, maps and other content hosted by other services. Those services receive your address and device data.

Menu Close
In this section: Learn
Start
Guides
Domain packs
Participants
Security and privacy
Pilot kits
Operations
Ecosystem

Service-level objectives

Source docs/ops/slo.md

Proposed objectives for an Observatory Protocol deployment, for the owner to confirm (OD-08). They are objectives for an operator, not properties of the protocol and not a promise of the reference programs.

As code. infra/observability/slo/slos.yaml is the source of the objectives of the reference stack: generate.py (make slo-rules) writes the recording rules, the multi-window multi-burn-rate alerts and the threshold alerts (slo.rules.yml) and the dashboards; make check fails when they are stale, when an alert’s runbook is missing, or when an objective uses a metric no service serves. The Kubernetes rendering keeps its own copy of the shared objectives in infra/deploy/slo.yaml (rendered into each environment’s monitoring.yaml); the tests check that the shared targets agree. The error-budget policy says what happens as a budget is spent; the metric and span conventions are in observability.md.

Id Objective Indicator Measured today?
SLO-AVAIL 99.5% of probes of every public endpoint succeed over 30 days (about 3.6 hours of failed probes a month) probe_success from the prober (reference stack) or a blackbox prober through the ingress (cluster) yes, with the observability profile
SLO-INGEST 99% of replay batches (up to 64 events) answered within 0.5 s over 30 days (p99 at most 0.5 s) obsp_ingest_batch_duration_seconds (gateway) yes, gateway built with metrics
SLO-CORRECTION 99% of corrections accepted at any gateway visible on the read endpoints and to federation peers within 60 s (the master plan’s design target) obsp_correction_propagation_seconds (prober, synthetic corrections) yes, against one gateway; across gateways once the data plane replicates corrections (OPS-GAP-03)
SLO-VERIFY 99.9% of intake and verification requests answered without a server error over 30 days obsp_gateway_requests_total{family=~"ingest|v02",class="5xx"} yes
SLO-LOG-FRESH for 99.9% of minutes the transparency log serves a signed tree head no older than 300 s obsp_log_tree_head_fresh (prober) yes, with the observability profile
SLO-DURABILITY every append-only store has a checked backup no older than twice its interval kube_cronjob_status_last_successful_time; obsp_backup_last_success_timestamp_seconds (proposed) for the sidecar CronJobs yes; sidecar no

Why these numbers. 0.5 s is about 80 times the bench’s end-to-end time for a 64-event batch at one client (64 events at 11 000 per second take about 6 ms), so it leaves room for transport, TLS and queueing without hiding a saturated replica. 99.5% matches what a single region with one spare replica can be expected to give; a higher figure needs a second region and a shared store (OPS-GAP-01). The 60 s propagation target comes from the programme’s master plan.

Alerts

Reference stack: four burn-rate alerts per objective (14.4x over 1 h and 5 min, 6x over 6 h and 30 min, both page; 3x over 1 d and 2 h, 1x over 3 d and 6 h, both tickets), named <Objective>BurnRate<long window>, plus the symptom alerts of slos.yaml (ObspCorrectionPropagationP99, ObspIngestLatencyP99, ObspVerificationRejectsHigh, ObspLogTreeHeadOld, ObspFederationLag, ObspGatewaySaturated, ObspScrapeTargetDown, ObspTelemetryDropping).

Kubernetes rendering (infra/deploy/slo.yaml): burn-rate alerts on the availability budget (fast: 14.4 times the allowed rate over 1 hour and 5 minutes, pages; slow: 6 times over 6 hours, opens a ticket), and threshold alerts on the rest:

Alert Fires when Severity Runbook
ObspAvailabilityFastBurn 2% of the 30-day budget spent within an hour page incident-response.md
ObspAvailabilitySlowBurn 5% of the budget spent within six hours ticket incident-response.md
ObspIngestLatency 99th percentile of batch answers above 0.5 s for 10 minutes page capacity-scaling.md
ObspStoreWriteFailing any OBS-STORE-0001 answer (the store cannot be written) page incident-response.md
ObspGatewayMemoryHigh a gateway replica above 85% of its memory limit page capacity-scaling.md
ObspGatewayAtMaxReplicas the autoscaler at its maximum for 15 minutes ticket capacity-scaling.md
ObspCorrectionPropagationSlow 99th percentile of propagation above 60 s for 10 minutes page incident-response.md
ObspBackupStale, ObspSidecarBackupStale no successful backup for two days (CronJob) or an hour (sidecar) ticket restore.md
ObspVolumeFilling a store volume below 15% free page capacity-scaling.md
ObspPodRestarting a container restarted more than three times in 30 minutes ticket incident-response.md

Metric names (OPS-GAP-02, now partly closed: the gateway serves the first three on its /metrics when built with the metrics feature, the prober serves the propagation histogram; the backup gauge is still proposed): obsp_ingest_batch_duration_seconds (histogram, per answered replay batch), obsp_http_responses_total (counter, labels operation, status, error_code), obsp_correction_propagation_seconds (histogram, from a correction’s acceptance to its first read elsewhere), obsp_backup_last_success_timestamp_seconds (gauge, per store).