Skip to content

IOC status calculation change

Imre Toth requested to merge CE-3134_Fix_not_deployed_IOC_status into develop

The IOC metrics business logic has been changed - if IOC is stopped, it's metrics will be removed from the Prometheus response. Therefore:

  • if IOC is not deployed (host or deployed time empty) -> IOC is inactive
  • if IOC metrics found in Prometheus -> return that
  • if no IOC metric found, that means either the IOC is stopped or host is down, so checking the host metrics also

Additionally removed unused metrics to clean up the codebase a bit

Closes CE-3134

Merge request reports