overview
Captures a one-shot PostgreSQL cluster health snapshot: version, uptime, connection states, idle-in-transaction, longest query, dead tuples, and standby lag. Use it to triage issues fast.
Instructions
[READ] One-shot cluster health snapshot.
Version + uptime, connections by state, idle-in-transaction count, the
longest-running query, the worst dead-tuple table, and standby replay lag —
each section captured defensively so one failing probe does not sink the rest.
Args:
target: Target name from config; omit for the default.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No |