lib/splash/constants.rb in prometheus-splash-0.7.0 vs lib/splash/constants.rb in prometheus-splash-0.8.0
- old
+ new
@@ -5,11 +5,11 @@
# Constants namespace
module Constants
# Current splash version
- VERSION = "0.7.0"
+ VERSION = "0.8.0"
# 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"
@@ -41,12 +41,15 @@
COPYRIGHT="Ultragreen (c) 2020"
# type of licence
LICENSE="BSD-2-Clause"
# the default prometheus pushgateway URL
- PROMETHEUS_PUSHGATEWAY_URL = 'http://localhost:9090/'
+ PROMETHEUS_PUSHGATEWAY_URL = 'http://localhost:9091/'
+ # the default prometheus Alertmanager URL
+ PROMETHEUS_ALERTMANAGER_URL = 'http://localhost:9092/'
+
# the default prometheus URL
PROMETHEUS_URL = "http://localhost:9090/"
# the default path fo execution report template
EXECUTION_TEMPLATE="/etc/splash_execution_report.tpl"
@@ -82,8 +85,10 @@
# the default sdtout trace file
WEBADMIN_STDOUT_TRACE="stdout.txt"
# the default sdterr trace file
WEBADMIN_STDERR_TRACE="stderr.txt"
+ # default transfer retention for trace
+ TRANSFER_DEFAULT_RETENTION=1
end
end