Sha256: 00de412f4ed27e2fd34a022e5dfeb927308ff82cab1e7584846e89c7da80a246

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

module Splash
  module Constants
    VERSION = "0.0.3"

    CONFIG_FILE = "/etc/splash.yml"
    TRACE_PATH="/var/run/splash"

    DAEMON_LOGMON_SCHEDULING={ :every => '20s'}
    DAEMON_PROCESS_NAME="Splash : daemon."
    DAEMON_PID_PATH="/var/run"
    DAEMON_PID_FILE="splash.pid"
    DAEMON_STDOUT_TRACE="stdout.txt"
    DAEMON_STDERR_TRACE="stderr.txt"

    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"
    EXECUTION_TEMPLATE_TOKENS_LIST = [:date,:cmd_name,:cmd_line,:stdout,:stderr,:desc,:status,:exec_time]

    BACKENDS_STRUCT = { :list => [:file,:redis],
                        :stores => { :execution_trace => { :type => :file, :path => "/var/run/splash" }}}
    TRANSPORTS_STRUCT = { :list => [:rabbitmq],
                        :active => :rabbitmq,
                        :rabbitmq => { :url => 'amqp://localhost/'} }



  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prometheus-splash-0.0.3 lib/splash/constants.rb