Prometheus · Arazzo Workflow
Prometheus Verify Server Readiness After a Restart
Version 1.0.0
Confirm a restarted or upgraded server is healthy, past WAL replay, and running the expected build.
Provider
Workflows
server-restart-readiness
Post-restart verification of health, readiness, WAL replay, build, and flags.
The health and readiness endpoints back Kubernetes liveness and readiness probes respectively, and the difference is the point: healthy means the process is fine, ready means it is actually serving queries.
1
checkHealth
checkHealth
Liveness check. A 200 means the process is up and not wedged; it says nothing about whether the server can answer queries yet.
2
checkReady
checkReady
Readiness check. A 503 here on a freshly restarted server is expected and normally means WAL replay is still in progress, which the next step quantifies.
3
checkWalReplay
getWalReplayStatus
Read WAL replay progress. The current and max segment numbers turn "not ready yet" into an actual estimate of how much longer recovery will take.
4
checkBuildInfo
getBuildInfo
Confirm the running binary is the build the deployment intended. The revision is what settles a disagreement about whether a rollout actually landed on this instance.
5
checkFlags
getFlags
Read the command-line flags in force. Retention, storage paths, and the enable-lifecycle and enable-admin-api toggles are all set here, and a restart is exactly when one of them silently changes.
6
checkRuntimeInfo
getRuntimeInfo
Read the runtime properties to confirm the server came back with its configuration successfully loaded and to record the new start time.
Source API Descriptions
openapi