ApiEngineering
Health
A measure of the operational status, performance, and reliability of a system, service, or component.
Health
A measure of the operational status, performance, and reliability of a system, service, or component.
Properties
id(string): Unique identifier for the health recordname(string): Display name of the monitored entitytargetId(string): ID of the entity being monitoredtargetType(string): Type of entity (Cluster, Microservice, Node, etc.)status(string): Overall health status (healthy, degraded, unhealthy, unknown)score(number): Health score (0-100)availability(number): Availability percentageuptime(number): Uptime in secondslastCheck(Date): Timestamp of last health checkmetrics(object): Key health metrics (CPU, memory, latency, etc.)issues(object[]): List of detected issues or problemswarnings(string[]): Warning messageserrors(string[]): Error messagesdependencies(object[]): Health status of dependencieschecks(object[]): Individual health check resultsthreshold(object): Thresholds for health status determinationcreatedAt(Date): Creation timestampupdatedAt(Date): Last update timestamp
Actions
create
Initialize health monitoring for an entity
Input: [[Health]]
Output: [[Health]]
read
Retrieve current health status
Input: string
Output: [[Health]]
update
Update health metrics
Input: [[Health]]
Output: [[Health]]
delete
Remove health monitoring
Input: string
Output: boolean
list
List all health records
Input: object
Output: [[Health]][]
check
Perform health check
Input: string
Output: [[Health]]
diagnose
Run diagnostic checks
Input: string
Output: object
heal
Attempt automatic remediation
Input: string
Output: [[Health]]
alert
Send health alert
Input: object
Output: void
Events
created: Fired when health monitoring is initializedupdated: Fired when health status changesdeleted: Fired when health monitoring is removeddegraded: Fired when health degradesunhealthy: Fired when entity becomes unhealthyrecovered: Fired when entity recovers to healthy statechecked: Fired when health check completes