Skip to content

Running investigations#

An investigation is an ordered set of checks for one symptom, such as connection-exhaustion. pgcue explains each step and what to look for.

The Investigations section has a page for investigation, and pgcue investigate <id> works through one step by step, explaining each step and what to look for. The Tutorial shows one in full.

Unattended#

pgcue run <investigation> runs every step with default parameters and no prompts. Every step runs even when some fail. Steps the server can't run, such as those that need a missing extension, are reported as unavailable and don't count as failures, so the run exits with status 1 only if a step failed.

With --output json, each run is one document with captured_at, investigation and a results entry per step, each shaped like a check's document.