Use it when gating automation around Health Checks. Keep authoritative criteria, immutable source/input, exact target identity, validator version, observed/effective state and workload acceptance as separate proof boundaries.
Health Checks
Health Checks sample explicit liveness, readiness and dependency conditions to decide whether an automated component or workload can safely receive traffic or continue a workflow.
1. Health checks verify services work (not just running).
2. Liveness vs readiness.
3. Synthetic user transactions.
4. Used for rollout gating.
5. Timeouts.
service → health endpoint/synthetic → status
Context & applicabilityCommon mistakes · platform/version boundaries
Operational reference
Fast context before you go deeper.
curl -fsS <health-url>Primary Commands
Configuration and operational commands for this Topic.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Operational evidence path Verify boundary
target instance → liveness → readiness → critical dependencies → synthetic/service transaction → threshold/window → acceptance or rollback
Healthy evidence: checks are scoped, independently meaningful, thresholded and complemented by a service-relevant transaction where needed.
Step 2 Command read-back and what it shows Verify boundary
curl -fsS <health-url> is the bounded verification surface selected for Validation → Health Checks. A known-good result is the intended endpoint responds within threshold with the documented healthy state, critical dependencies represented by the check are healthy, and the original user/service transaction also succeeds. Treat timeout/non-success response, explicit degraded/failed dependency, latency beyond threshold or nominal healthy output while the original transaction remains broken as broken/suspicious. The health HTTP request shows only what that endpoint implements and exposes for that target/time, but it does not show omitted dependencies, every route or end-to-end business correctness.
Step 3 Common mistakes Verify boundary
- Health checks that always pass.
Step 4 Failure modes and next checks Narrow the fault
Suspicious evidence: a self-reported HTTP response or process-up signal is treated as complete health while dependencies, data path or user transactions fail.
Step 5 Observation-driven branch and next-check logic Narrow the fault
For a failing Validation → Health Checks case, freeze scope first: target/object, desired revision or request, and failure time. Inspect curl -fsS <health-url>. Branch on evidence rather than labels: if endpoint is unreachable, separate network/process/listener before application semantics; if it responds unhealthy with dependency detail, follow that dependency; if it reports healthy but original workload fails, test the consumer path and dependencies omitted from health logic.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
- Endpoint 200 ≠ system healthy.
- Liveness healthy ≠ readiness healthy.
- Readiness healthy ≠ every dependency or user path healthy.
- One healthy sample ≠ sustained health.
curl -fsS https://<svc>/health— HTTP healthsystemctl is-active <svc>— service- Synthetic transaction test — user path
ReferenceWhat it is1 section · depth on demand
Core model
Define what each check measures, separate process liveness from service readiness and dependency reachability, use bounded timeouts and failure thresholds, and correlate check identity with the target instance and user-visible acceptance path.
ReferenceHow it works1 section · depth on demand
How it works
In Validation → Health Checks, effective state is split across the service/component health endpoint, the dependency set represented by that endpoint and the threshold/state used to distinguish ready, degraded and failed behavior. A health check samples one or more internal signals and exposes a bounded readiness/liveness result; useful validation knows whether the endpoint checks only process life or also critical dependencies. DNS, load balancer routing, authentication, caches, databases and external APIs may lie outside or inside the endpoint depending on implementation. This matters because HTTP 200 from a shallow liveness endpoint does not show the user transaction, while a failing deep health endpoint can reflect one dependency even when the process itself is running.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Health Checks show only the signals and time window they sample; shallow checks can remain green while important user paths fail.
In depth
Health checks test whether a service or system is working — an HTTP endpoint returns 200, a port accepts connections, a process is running, a dependency answers. Automation uses them before, during and after changes.
| Health check type | Example |
|---|---|
| Liveness | Process up |
| Readiness | Ready to serve traffic (dependencies OK) |
| Deep check | Real query through the application |
| Synthetic | User-like transaction from outside |
curl -fsS --max-time 5 https://app.example.com/healthz && echo healthy
Use retries with a timeout after changes; services often need a little time to become ready.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Validation > Health Checks. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://json-schema.org/learn/getting-started-step-by-step · confidence 94%Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Health Checks validation proof-boundary map
Fast criteria/scope, execution and effective-outcome proof boundaries for Health Checks.
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Criteria / input | Criteria, source revision, validator and exact target identity are explicit | A generic pass exists without versioned criteria or target correlation |
| Preconditions / operation | Current authoritative facts are bound to the exact operation | Stale preflight or requested state substitutes for execution-time facts |
| Effective outcome | Authoritative state/read-back and service-relevant evidence match the expected result | Tool/test/validator success substitutes for effective target or workload proof |
| Limits / next action | Coverage limits, unknowns and failures drive the next narrower check | Unknown evidence becomes pass, retries hide failures or broad success is inferred from one check |