heartbeet - Poll through life
 
 
Go to file
Darshil Chanpura 3b4f423055 Update: added Makefile, .gitignore and go.sum 2019-09-03 11:34:50 +05:30
etc/systemd/system Update: unused file 2019-09-01 19:55:41 +05:30
poller Update: reorganized the packages 2019-09-01 19:59:16 +05:30
.gitignore Update: added Makefile, .gitignore and go.sum 2019-09-03 11:34:50 +05:30
Makefile Update: added Makefile, .gitignore and go.sum 2019-09-03 11:34:50 +05:30
README.md Initial Commit 2019-08-31 21:53:02 +05:30
go.mod modified the package url 2019-09-03 11:33:59 +05:30
go.sum Update: added Makefile, .gitignore and go.sum 2019-09-03 11:34:50 +05:30
main.go Update: github.com -> cgit.dcpri.me 2019-09-02 15:21:37 +05:30

README.md

heartbeet - Health Check utility for hosts

This utility is mainly for sending "is up" notification to Graphite server.

Environment Variables

  • PROJECT_NAME: Name of project which is included in metric name
  • RUN_MODE: This is usually the environment which it ran in, usually prod/stage/test/dev
  • GRAPHITE_KEY: This key is used as prefix if needed.
  • GRAPHITE_ADDRESS: Address of graphite carbon, e.g. 127.0.0.1:2003

Run

Just run with required environment variables

$ GRAPHITE_ADDRESS=graphitehost.local:2003 RUN_MODE=stage PROJECT_NAME=nginx ./heartbeet