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 name
  • agents.total — total registered agents
  • agents.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

      public AgenorHealthIndicator(AgenorRuntime runtime)
  • Method Details

    • health

      public org.springframework.boot.health.contributor.Health health()
      Specified by:
      health in interface org.springframework.boot.health.contributor.HealthIndicator