Method: ManageEngine::APMConstants#initialize
- Defined in:
- lib/agent/util/am_constants.rb
#initialize ⇒ APMConstants
Returns a new instance of APMConstants.
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/agent/util/am_constants.rb', line 12 def initialize @conf_location=ENV.has_key?('APMINSIGHT_HOME') ? ENV['APMINSIGHT_HOME']+"/" : "./" #File path for APM Conf file @apm_gem="apminsight" @s247_apm_gem="site24x7_apminsight" #File path for APM Conf file @apm_conf=@conf_location + "apminsight.conf" #file path for agent id, enable details @agent_conf=@conf_location + "apminsight.info" #file path for agent data store lock @agent_lock=@conf_location + "apminsight.lock" #file path for agent data store lock @agent_store=@conf_location + "apminsight.store" #file name for url merge patterns @mergepattern_conf=@conf_location + "transaction_merge_patterns.conf" #Timeout for opening Connections @connection_open_timeout=60 #Timeout for Reading data from Connections @connection_read_timeout=60 #Connection uri @connect_uri="arh/connect" #Connection uri for data @connect_data_uri="arh/data?instance_id=" #Connection uri for trace @connect_trace_uri="arh/trace?instance_id=" #Connection uri for config update @connect_config_update_uri="arh/agent_config_update?instance_id=" #Site24x7 url for agent communication @site24x7USurl = "https://plusinsight.site24x7.com/" @site24x7EUurl = "https://plusinsight.site24x7.eu/" @site24x7CNurl = "https://plusinsight.site24x7.cn/" @site24x7AUurl = "https://plusinsight.site24x7.net.au/" @site24x7INurl = "https://plusinsight.site24x7.in/" @site24x7GDurl = "https://gdplusinsight.site24x7.com/" @site24x7JPurl = "https://plusinsight.site24x7.jp/" #Response Codes @licence_expired = 701 @licence_exceeds = 702 @delete_agent = 900 @unmanage_agent =910 @manage_agent = 911 @agent_config_updated = 920 @error_notfound = 404 @error_server = 500 @response_code = "response-code" @custom_config_info = "custom_config_info" @agent_specific_info = "agent_specific_info" #Metrics Formatter -mf @mf_apdex = "apdex" @mf_namespace = "ns" @mf_name = "name" @mf_all = "all" @mf_separator = "/" @mf_transaction = "transaction" + @mf_separator + "http" @mf_db = "db" @mf_overflow = "0verf10w" @mf_logmetric = "logmetric" @mf_logmetric_warning = "warning" @mf_err_st = "err_st" @mf_exception_st = "exception_st" @mf_loginfo = "loginfo" @mf_loginfo_time = "time" @mf_loginfo_level = "level" @mf_loginfo_str = "str" @mf_loginfo_err_clz = "err_clz" @mf_loginfo_st = "st" @mf_loginfo_level_warn = "WARN" @en_alphabets = "YXBtaWza" @en_numerals = "24876981" end |