Package io.appform.ranger.core.healthservice.monitor.sample
package io.appform.ranger.core.healthservice.monitor.sample
-
ClassDescriptionA monitor that can be used as a counting monitor to check if any countable entity breaches a threashhold Eg: 1.A simple monitor to keep track of the disk space in a partitionA Ping checking monitor, which executes a
HttpRequestat regular intervals Maintains every healthcheck in aRollingWindowHealthQueueto prevent continuous flaps of healthThis is a simple service in/out rotation check monitor Initialize this class with a filePath (location of the file) This monitor then: Marks service as unhealthy when the file does not exist Marks service as healthy when the file exists