diff --git a/src/main/groovy/com/github/lookout/verspaetung/Main.groovy b/src/main/groovy/com/github/lookout/verspaetung/Main.groovy index 54e21fb..8d56c7e 100644 --- a/src/main/groovy/com/github/lookout/verspaetung/Main.groovy +++ b/src/main/groovy/com/github/lookout/verspaetung/Main.groovy @@ -83,7 +83,10 @@ class Main { logger.info("Started wait loop...") - while (true) { Thread.sleep(1000) } + while (true) { + statsd?.recordGaugeValue('heartbeat', 1) + Thread.sleep(1 * 1000) + } logger.info("exiting..") poller.die()