Class HealthEndpoint

java.lang.Object
org.springframework.boot.actuate.health.HealthEndpoint

@Endpoint(id="health") public class HealthEndpoint extends Object
@Endpoint to expose application health information.
Since:
2.0.0
  • Field Details

    • ID

      public static final EndpointId ID
      Health endpoint id.
  • Constructor Details

    • HealthEndpoint

      public HealthEndpoint(org.springframework.boot.health.registry.HealthContributorRegistry registry, @Nullable org.springframework.boot.health.registry.ReactiveHealthContributorRegistry fallbackRegistry, HealthEndpointGroups groups, @Nullable Duration slowContributorLoggingThreshold)
      Create a new HealthEndpoint instance.
      Parameters:
      registry - the health contributor registry
      fallbackRegistry - the fallback registry or null
      groups - the health endpoint groups
      slowContributorLoggingThreshold - duration after which slow health indicator logging should occur
      Since:
      4.0.0
  • Method Details