Health dimensions
Track four separate dimensions:
Dashboards and reports never combine these into one “success rate” that attributes provider/platform failure to the target.
Correlation identifiers
Every request/event/span/log carries only applicable safe identifiers:- request and trace/span IDs;
- opaque organization, project, target, run, workflow, step/attempt, runner/job, schedule/occurrence, report, artifact, integration/delivery, and evidence-operation IDs;
- release manifest/product/component versions, configuration digest, schema versions, standards snapshot and suite-lock digests;
- environment, region/zone, service/pool/task queue, runner class/image digest, network class, data classification, and redaction-policy version.
Privacy filter
Apply an allowlist processor before telemetry leaves each process/runner and a second policy at the collector. Remove or transform authorization/cookie headers, query/body/multipart content, URL credentials/unique paths, customer/fixture fields, private domains/IPs, secrets/keys/signatures/XDR, stack locals, browser storage, screenshot content, and provider response bodies. Use opaque IDs or bounded class/code values. Hashing low-entropy sensitive values is not safe identity masking. Cap attribute length/count, event/span count, stack depth, log line/record size, and metric cardinality. Reject unknown attributes in production; do not forward them “for debugging.” Test exact/transformed canaries through API, workflow, runner, browser, Stellar, reports, webhooks, errors, and support bundles. A filter failure disables unsafe export, emits a value-free local health signal, and opens a privacy incident; it never falls back to unfiltered telemetry.Metrics
Metrics use bounded label sets and document type, unit, owner, source, aggregation, interval, retention, and objective relationship. Required families include:- edge/API requests, latency, status/problem class, auth/policy/rate-limit decision;
- SSE connections, fan-out, event lag, reconnect/replay/gap/expiry;
- schedules due/started/missed/paused/late and start delay;
- workflow/task/activity started/completed/retried/failed/timed out and replay/build compatibility;
- queue arrival/completion, depth, oldest age, retry/dead letter, saturation;
- worker/runner desired/pending/starting/running/terminal, provisioning delay, capacity/rejection, CPU/memory/disk/network;
- target/Horizon/RPC calls by safe operation/result class and latency/ledger age;
- artifact/report bytes/counts, generation/verification/signing time, integrity/redaction failure;
- webhook/GitHub/notification attempts, latency, retry/dead letter/rate limits;
- database pool/query class/replication/storage, Redis, Temporal, object storage, KMS, backup/restore, and contract evidence operations.
Logs
Use structured JSON with timestamp, severity, stable event code, service/release/environment, trace/request/resource IDs, safe state transition, duration/result class, retry decision, and message template. Parameters are allowlisted and typed; newline/control/markup is escaped. Do not log request/response bodies, headers, cookies, JWT/API keys, customer/fixture values, seed/private/public signing payloads, private URLs, signed download links, raw XDR, webhook bodies/signatures, SQL values, or exception locals. Security audit events are a separate append-only schema/store/access policy, not ordinary debug logs. Dynamic debug level is time-bound, scoped to service/tenant/resource without payload capture, approved/audited, and automatically reverts. Sampling never drops security, privacy, integrity, cleanup, evidence-submission, or audit decisions.Traces
Trace API request through durable workflow/activity, runner lease/job/step, target/provider call class, redaction/artifact, report/signature, integration/evidence operation. Create links rather than false parentage across retries, schedules, callbacks, and asynchronous queues. Record attempt/resource version and idempotency key fingerprint, not the key. Sample head/tail by released policy, retain errors/slow/integrity/security classes within privacy limits, and record sampling decision/version. A missing span does not imply a step did not happen; durable run/audit/report records remain authoritative.Dashboards
Default views show aggregate platform status. Tenant-specific views require tenant authorization. Public status reports only confirmed service impact and no tenant/target/resource identifiers.
Alerts
Alert on user impact, objective burn, safety/integrity control failure, and resource exhaustion, not every transient event. Every alert names severity, condition/window, minimum volume, environment, owning service/team, dashboard query, runbook, escalation, and safe labels. Use fast/slow burn alerts for availability/latency objectives, plus direct alerts for redaction/canary leak, tenant authorization anomaly, pubnet kill-switch change/attempt, signing/code-hash/integrity failure, cleanup failure, queue oldest-age/backlog, no eligible runner, database/storage/KMS/Temporal risk, schedule lateness, webhook dead letters, backup/restore failure, and certificate/key/ownership expiry. Deduplicate/coalesce related alerts, suppress only under audited maintenance, and send recovery after the condition is verified clear. Exercise each route in staging and record detection, acknowledgement, escalation, and resolution times.Objective status and method
The stored objective register labels every targetinitial and points to the methods below. Publish measured status only after a representative production window includes source query/dashboard, release/config, event counts, exclusions, uncertainty, and review.