Skip to content

Platform operations

operations/platform.toml is the portable platform-health specification. scripts/validate_operational_artifacts.py rejects unknown signal families, incomplete alerts, stale alert links, and consumer-domain language. It derives the expected alert set from synthetic healthy and degraded signal fixtures, so an unknown signal or a stale expected presentation fails validation. This repository never creates dashboards or alerts in a vendor account.

The Collector exposes its own Prometheus endpoint on port 8888. Queries aggregate only the bounded Collector component labels (receiver, processor, exporter, and pipeline). Do not add request, run, snapshot, account, catalog, product, or other consumer identities as metric labels. The runtime diagnostic is a fixed local stderr category (telemetry failure: <category>); route that local process output to the existing process-log channel and count categories without retaining exception text or telemetry values.

The delivery view treats queue movement plus send-failure counters and bounded Collector JSON logs as retry evidence; enqueue failures and exhausted send failures as drops/permanent failure evidence; and the detailed exporter internal-duration histogram as export latency. This keeps the specification tied to the pinned Collector's emitted families without inventing backend-specific metrics.

Grafana and Honeycomb adaptation

Grafana can scrape the Collector Prometheus endpoint and implement the listed rates and queue ratios with PromQL. Honeycomb can ingest the same Collector self-observability data through an OTLP metrics pipeline and group only by the bounded component labels. Both adapters require deployment-owned data source references and credentials; no URL, dataset ID, API key, or mutable destination is stored here.

Runbooks

Missing signals or broken correlation

Confirm the pinned wheel, lock, Collector image, composed configuration digest, and per-signal switch. Check /health, receiver accepted/refused counters, then send one synthetic canary for each enabled signal. Correlate by the approved trace/log context and durable consumer evidence; do not promote an identifier to a metric label. Restore the prior qualified configuration if the canary does not arrive.

Privacy or cardinality violation

Disable the narrow signal or instrumentation switch, preserve a redacted sample and the configuration fingerprint, then reject the vocabulary or Collector overlay that admitted it. Never paste the affected payload, headers, SQL, or identity into tickets or logs.

Runtime export loss or recursive logging

Inspect only the fixed runtime diagnostic category and the process stderr capture. Verify OpenTelemetry and gRPC logger exclusions, exporter configuration, and the signal switch. If diagnostics recur, disable the affected signal before the master switch; business processing remains authoritative and must not be retried for telemetry.

Memory pressure, saturation, or backend isolation

Use refusal rate, queue occupancy/capacity, enqueue failures, send failures, CPU, RSS, heap, and persistent-volume usage to distinguish pressure from backend failure. A queue above 70% for five minutes is warning; above 85%, any enqueue failure, or permanent loss is critical. Reduce load or restore the failing backend, confirm queue drain below 50%, and verify an unaffected fan-out branch remains healthy.

Persistent recovery and tail-sampling anomalies

Run the documented profile preflight, verify the volume quota and retry window, then restart only under the bounded recovery plan. Confirm the queue shrinks at the planned drain rate. For tail sampling, inspect router queue, trace capacity, sampled and dropped decision caches, late spans, and incomplete traces; do not combine head and tail sampling or assume decisions survive cache eviction.

Rollout and rollback

  1. Record the candidate wheel/sdist hashes, lock hash, Collector image/configuration digests, and configuration fingerprint. Verify TLS, secret references, resource identity, profile preflight, query validation, and qualified overhead evidence.
  2. Deploy disabled telemetry first, then enable the master switch with all signals disabled. Enable traces, metrics, logs, and framework instrumentation one at a time with a synthetic canary and a hold point after each step.
  3. Promote only after delivery, privacy/cardinality, queue, fan-out isolation, and qualified performance gates pass. Consumer-owned serving, worker, Training Run, quality, and drift alerts have their own approval and hold points.
  4. Roll back by disabling the affected instrumentation or signal switch first, then the master switch. Restore the previous qualified wheel/lock and Collector image/configuration. Do not rewrite consumer durable data or remove additive consumer schema columns.