lib/splash/constants.rb in prometheus-splash-0.6.0 vs lib/splash/constants.rb in prometheus-splash-0.6.1

- old
+ new

@@ -5,16 +5,18 @@ # Constants namespace module Constants # Current splash version - VERSION = "0.6.0" + VERSION = "0.6.1" # the path to th config file, not overridable by config CONFIG_FILE = "/etc/splash.yml" # the default execution trace_path if backend file TRACE_PATH="/var/run/splash" + # the default pid file path + PID_PATH="/var/run" # default scheduling criteria for log monitoring DAEMON_LOGMON_SCHEDULING={ :every => '20s'} # default scheduling criteria for metrics notifications @@ -22,12 +24,10 @@ # default scheduling criteria for process monitoring DAEMON_PROCMON_SCHEDULING={ :every => '20s'} # the display name of daemon in proc info (ps/top) DAEMON_PROCESS_NAME="Splash : daemon." - # the default pid file path - DAEMON_PID_PATH="/var/run" # the default pid file name DAEMON_PID_FILE="splash.pid" # the default sdtout trace file DAEMON_STDOUT_TRACE="stdout.txt" # the default sdterr trace file @@ -40,18 +40,14 @@ # legal Copyright (c) 2020 Copyright Utragreen All Rights Reserved. COPYRIGHT="Ultragreen (c) 2020" # type of licence LICENSE="BSD-2-Clause" - # the default prometheus pushgateway host - PROMETHEUS_PUSHGATEWAY_HOST = "localhost" - # the default prometheus pushgateway port - PROMETHEUS_PUSHGATEWAY_PORT = "9091" - # the default prometheus pushgateway port - PROMETHEUS_PUSHGATEWAY_PATH = '' + # the default prometheus pushgateway URL + PROMETHEUS_PUSHGATEWAY_URL = 'http://localhost:9090/' # the default prometheus URL - PROMETHEUS_URL = "http://localhost:9090" + PROMETHEUS_URL = "http://localhost:9090/" # the default path fo execution report template EXECUTION_TEMPLATE="/etc/splash_execution_report.tpl" # the list of authorized tokens for template, carefull override,