Skip to main content
Version: 5.5

Health endpoints

The OPC Router has health endpoints that can be used to query data on the status of the OPC Router, e.g., the redundancy status. Both the runtime and the web management provide health endpoints.

note

The possible values for a status are:

  • Healthy
  • Unhealthy
  • Degraded

Health endpoints of web management

Web management provides the following health endpoints.

EndpointDescription
/healthGeneral status of web management
/health/liveLiveness probe
/health/readyReadiness probe
/health/detailsDetails on the status in JSON format
/health/runtime<runtime health-endpunkt="">Reverse proxy to the runtime health endpoints

Runtime health endpoints

Configuration

The runtime health endpoints can be configured using the following environment variables.

Environment variableDescriptionDefault value
OR_ENABLE_HEALTH_ENDPOINTEnables the provision of all health endpointstrue
OR_RUNTIME_HEALTH_ENDPOINT_PORTPort on which the runtime provides the health endpoints53200
warning

The port configured with OR_RUNTIME_HEALTH_ENDPOINT_PORT is only accessible from localhost, e.g., from the Docker container or the Windows server on which the OPC Router is running.

Endpoints

The runtime provides the following health endpoints.

EndpointDescription
/General status of the runtime
/liveLiveliness probe
/ready

Readiness probe and general status of the runtime

Returns status code 200 if all health checks are successful.
Otherwise, status code 503 is returned.

/detailsDetails of all health checks in JSON format
/RedundancyState

Current redundancy status in JSON format, e.g.

{&quot;status&quot;:&quot;Ready&quot;}

The possible values for the redundancy status are:

  • Ready
  • Standby
  • LicenseError
/TransferManagerTransfer Manager health check
/RuntimeLicenseManagerLicense Manager health check
/HistoricalDiagnosisStorageRing memory health check
/TelemetryManagerTelemetry manager health check