get_instance_status
Check Dagster instance health for monitoring. Identifies unhealthy daemons, queued run bottlenecks, and code location errors.
Instructions
Get a global health check of the Dagster instance. START HERE for any monitoring workflow.
Returns:
healthy: boolean — true only if all required daemons are healthy AND no code locations have errors
daemons: list of {type, healthy, last_heartbeat, required} for each daemon (scheduler, sensor, run coordinator, etc.)
queued_runs_count: number of runs waiting in queue (high count = bottleneck)
queued_runs_count_capped: true when the count is a floor rather than exact, which happens only on Dagster versions that do not report a total
code_location_errors: list of {name, error} for locations that failed to load
When to use: as the FIRST call in any diagnostic or monitoring flow. If healthy=false, check daemons for unhealthy entries and code_location_errors for loading failures. Follow up with list_code_locations or get_runs as needed.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||