Health & Status
Each config item has attributes used to quickly determine the health and status of an item.
health
can be one ofhealthy
,unhealthy
,unknown
,warning
and correspondes with RAG (Red, Amber, Green) status that will be associated with an itemstatus
is a config type specific short description of the current running state e.g.Running
,Terminating
,in-use
ready
indicates whether an item is still progressing
Health is orthagonal to readiness
A config item could have a state of heath: unhealthy, status: failed, ready: true
- this indicates that the item will unlikely change its state, while an item of health: health, status: rolling-out, ready: false
indicates a healthy item that has not yet finished rolling out.
The github.com/flanksource/is-healthy is used to derive these conditions.