To modify the health calculations, the following properties can be changed:
sentinel.health.responsetime = -0.25 sentinel.health.throughput = 1 sentinel.health.maxthroughput = 2 sentinel.health.error = -20 sentinel.health.active = 0.5 sentinel.health.completed = 0.5 sentinel.health.queued = -0.5
Note that the absolute value of the number is the actual weight for the calculation, which means how important the value is. The minus (-) sign indicates if we want the value to be lower for the health to be better. For example, you would want the error count to be lower to indicate a healthy system, so you would indicate this by having a minus (-) sign in front of the value.
iWay Software |