Class HealthControlPanel

java.lang.Object
io.micronaut.controlpanel.core.AbstractControlPanel<io.micronaut.management.health.indicator.HealthResult>
io.micronaut.controlpanel.panels.management.HealthControlPanel
All Implemented Interfaces:
ConfigurableControlPanel, ControlPanel<io.micronaut.management.health.indicator.HealthResult>, io.micronaut.core.naming.Named, io.micronaut.core.order.Ordered, io.micronaut.core.util.Toggleable

@Singleton @Requires(beans=io.micronaut.management.endpoint.health.HealthEndpoint.class) @Requires(property="micronaut.control-panel.panels.health.enabled",notEquals="false") public class HealthControlPanel extends AbstractControlPanel<io.micronaut.management.health.indicator.HealthResult>
Control panel that displays information about the application health.
Since:
1.0.0
Author:
Álvaro Sánchez-Mariscal
  • Field Details

  • Constructor Details

    • HealthControlPanel

      public HealthControlPanel(io.micronaut.management.endpoint.health.HealthEndpoint endpoint, @Named("health") ControlPanelConfiguration configuration)
  • Method Details

    • getBody

      public io.micronaut.management.health.indicator.HealthResult getBody()
      Description copied from interface: ControlPanel
      Used to render the body of the control panel.
      Returns:
      the body of the control panel.