lib/splash/constants.rb in prometheus-splash-0.0.1 vs lib/splash/constants.rb in prometheus-splash-0.0.2
- old
+ new
@@ -1,8 +1,8 @@
module Splash
module Constants
- VERSION = "0.0.1"
+ VERSION = "0.0.2"
CONFIG_FILE = "/etc/splash.yml"
DAEMON_USER = "root"
DAEMON_GROUP = "wheel"
PID_PATH="/var/run"
TRACE_PATH="/var/run/splash"
@@ -12,7 +12,11 @@
DAEMON_PROCESS_NAME="Splash : Prometheus logs monitoring."
AUTHOR="Romain GEORGES"
EMAIL = "gems@ultragreen.net"
COPYRIGHT="Ultragreen (c) 2020"
LICENSE="BSD-2-Clause"
+ PROMETHEUS_PUSHGATEWAY_HOST = "localhost"
+ PROMETHEUS_PUSHGATEWAY_PORT = "9091"
+ EXECUTION_TEMPLATE="/etc/splash_execution_report.tpl"
+ TOKENS_LIST = [:date,:cmd_name,:cmd_line,:stdout,:stderr,:desc,:status]
end
end