Sign inSign up

qualimente/heartbeat

By qualimente

Updated almost 9 years ago

Runs the `heartbeat` program, useful for generating a heartbeat signal through container platforms

Image
0

84

qualimente/heartbeat repository overview

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

Tag summary

Content type

Image

Digest

Size

815 kB

Last updated

almost 9 years ago

docker pull qualimente/heartbeat:0.1.0