heartbeet - Poll through life
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
Darshil Chanpura 3b4f423055
Update: added Makefile, .gitignore and go.sum
4 years ago
etc/systemd/system Update: unused file 4 years ago
poller Update: reorganized the packages 4 years ago
.gitignore Update: added Makefile, .gitignore and go.sum 4 years ago
Makefile Update: added Makefile, .gitignore and go.sum 4 years ago
README.md Initial Commit 4 years ago
go.mod modified the package url 4 years ago
go.sum Update: added Makefile, .gitignore and go.sum 4 years ago
main.go Update: github.com -> cgit.dcpri.me 4 years ago

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