Public Repository

Last pushed: 2 years ago
Short Description
Go application to check health of a set of sites and report to statsd
Full Description

Environment Variables:

SITE_Debug          bool    :additional trace stmts
SITE_CheckInterval  int     :number of seconds between site check calls
SITE_FileLocation   string  :path to json file for config of sites to check
SITE_StatsdHost     string  :statsd server
SITE_StatsdPort     int     :port for statsd server
SITE_Prefix         string  :statsd metric prefix

json format for sites config

[
    {"Url": "url of site", "Metric": "metic to go after prefix"},
    ...
]

Note the final metric will be:

prefix.metricfromsitesconfig.ok
or
prefix.metricfromsitesconfig.bad
Docker Pull Command
Owner
jcastillo

Comments (0)