Runs the `heartbeat` program, useful for generating a heartbeat signal through container platforms
84
Runs the heartbeat program, which is useful for generating a heartbeat signal through container platforms, especially logging subsystems.
Run with:
docker run -it --rm qualimente/heartbeat run
you should see one heartbeat message output per second like:
$ docker run -it --rm qualimente/heartbeat run
{"appName":"heartbeat","level":"info","msg":"Running periodically","time":"2017-10-27T19:21:47Z"}
{"level":"info","msg":"Every heartbeat bears your name","time":"2017-10-27T19:21:47Z","type":"heartbeat"}
{"level":"info","msg":"Every heartbeat bears your name","time":"2017-10-27T19:21:48Z","type":"heartbeat"}
{"level":"info","msg":"Every heartbeat bears your name","time":"2017-10-27T19:21:49Z","type":"heartbeat"}
both the message format and message period are configurable, see --help for a list of options
docker run -it --rm qualimente/heartbeat --help
Content type
Image
Digest
Size
815 kB
Last updated
almost 9 years ago
docker pull qualimente/heartbeat:0.1.0