This extension offers a convenient way to detect application zombies, i.e. applications that live/communicate but do not produce any business value. "business value" means anything that helps to solve a problem of an application user. Infrastructure stuff (logs, stats, metrics, health checks) usually does not produce a business value.
In a nutshell, the extension manages the business score which is a numeric representation of the business value.
An application emits score records to increase the business score, either directly with the BusinessScore
API or with an interceptor binding.
The records are only kept for the specific amount of time - time window.
The sum of all score records in the current time window is the current business score.
The zombie threshold defines the point at which the application is considered a zombie.
An external system or the application itself can periodically check the business score and react appropriately.
Read the full documentation.