Package org.openremote.manager.system
Class HealthService
java.lang.Object
org.openremote.manager.system.HealthService
- All Implemented Interfaces:
org.openremote.model.ContainerService
This service is here to initialise the discovered
HealthStatusProviders and (StatusResource-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<org.openremote.model.system.HealthStatusProvider> static final System.Loggerprotected booleanprotected io.prometheus.metrics.exporter.httpserver.HTTPServerstatic final Stringstatic final intFields inherited from interface org.openremote.model.ContainerService
DEFAULT_PRIORITY, HIGH_PRIORITY, LOW_PRIORITY, MED_PRIORITY -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOG
-
OR_METRICS_PORT
- See Also:
-
OR_METRICS_PORT_DEFAULT
public static final int OR_METRICS_PORT_DEFAULT- See Also:
-
healthStatusProviderList
-
metricsEnabled
protected boolean metricsEnabled -
metricsServer
protected io.prometheus.metrics.exporter.httpserver.HTTPServer metricsServer
-
-
Constructor Details
-
HealthService
public HealthService()
-
-
Method Details
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceorg.openremote.model.ContainerService
-
init
- Specified by:
initin interfaceorg.openremote.model.ContainerService- Throws:
Exception
-
start
- Specified by:
startin interfaceorg.openremote.model.ContainerService- Throws:
Exception
-
stop
- Specified by:
stopin interfaceorg.openremote.model.ContainerService- Throws:
Exception
-