Package dev.agenor.autoconfigure
Class AgenorHealthIndicator
java.lang.Object
dev.agenor.autoconfigure.AgenorHealthIndicator
- All Implemented Interfaces:
org.springframework.boot.health.contributor.HealthContributor,org.springframework.boot.health.contributor.HealthIndicator
public class AgenorHealthIndicator
extends Object
implements org.springframework.boot.health.contributor.HealthIndicator
Actuator
HealthIndicator for the Agenor runtime.
Reports UP when the runtime is running, DOWN otherwise.
Details exposed:
runtime.name— configured runtime nameagents.total— total registered agentsagents.running— agents currently running
Activated automatically when spring-boot-starter-actuator is on the classpath
and a AgenorRuntime bean is present. Registered via
AgenorAutoConfiguration.ActuatorConfiguration.
-
Constructor Details
-
AgenorHealthIndicator
-
-
Method Details
-
health
public org.springframework.boot.health.contributor.Health health()- Specified by:
healthin interfaceorg.springframework.boot.health.contributor.HealthIndicator
-