Class: ManageEngine::APMConstants
- Inherits:
-
Object
- Object
- ManageEngine::APMConstants
- Defined in:
- lib/agent/util/am_constants.rb
Instance Attribute Summary collapse
-
#agent_conf ⇒ Object
readonly
Returns the value of attribute agent_conf.
-
#agent_lock ⇒ Object
readonly
Returns the value of attribute agent_lock.
-
#agent_store ⇒ Object
readonly
Returns the value of attribute agent_store.
-
#apm_conf ⇒ Object
readonly
Returns the value of attribute apm_conf.
-
#apm_gem ⇒ Object
readonly
Returns the value of attribute apm_gem.
-
#connect_data_uri ⇒ Object
readonly
Returns the value of attribute connect_data_uri.
-
#connect_trace_uri ⇒ Object
readonly
Returns the value of attribute connect_trace_uri.
-
#connect_uri ⇒ Object
readonly
Returns the value of attribute connect_uri.
-
#connection_open_timeout ⇒ Object
readonly
Returns the value of attribute connection_open_timeout.
-
#connection_read_timeout ⇒ Object
readonly
Returns the value of attribute connection_read_timeout.
-
#delete_agent ⇒ Object
readonly
Returns the value of attribute delete_agent.
-
#error_notfound ⇒ Object
readonly
Returns the value of attribute error_notfound.
-
#error_server ⇒ Object
readonly
Returns the value of attribute error_server.
-
#licence_exceeds ⇒ Object
readonly
Returns the value of attribute licence_exceeds.
-
#licence_expired ⇒ Object
readonly
Returns the value of attribute licence_expired.
-
#manage_agent ⇒ Object
readonly
Returns the value of attribute manage_agent.
-
#mf_all ⇒ Object
readonly
Returns the value of attribute mf_all.
-
#mf_apdex ⇒ Object
readonly
Returns the value of attribute mf_apdex.
-
#mf_db ⇒ Object
readonly
Returns the value of attribute mf_db.
-
#mf_name ⇒ Object
readonly
Returns the value of attribute mf_name.
-
#mf_namespace ⇒ Object
readonly
Returns the value of attribute mf_namespace.
-
#mf_separator ⇒ Object
readonly
Returns the value of attribute mf_separator.
-
#mf_transaction ⇒ Object
readonly
Returns the value of attribute mf_transaction.
-
#response_code ⇒ Object
readonly
Returns the value of attribute response_code.
-
#unmanage_agent ⇒ Object
readonly
Returns the value of attribute unmanage_agent.
Instance Method Summary collapse
-
#initialize ⇒ APMConstants
constructor
A new instance of APMConstants.
Constructor Details
#initialize ⇒ APMConstants
Returns a new instance of APMConstants.
9 10 11 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 |
# File 'lib/agent/util/am_constants.rb', line 9 def initialize #File path for APM Conf file @apm_gem="apminsight" #File path for APM Conf file @apm_conf="apminsight.conf" #file path for agent id, enable details @agent_conf="apminsight.info" #file path for agent data store lock @agent_lock="apminsight.lock" #file path for agent data store lock @agent_store="apminsight.store" #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=" #Response Codes @licence_expired = 701 @licence_exceeds = 702 @delete_agent = 900 @unmanage_agent =910 @manage_agent = 911 @error_notfound = 404 @error_server = 500 @response_code = "response-code" #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" end |
Instance Attribute Details
#agent_conf ⇒ Object (readonly)
Returns the value of attribute agent_conf.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def agent_conf @agent_conf end |
#agent_lock ⇒ Object (readonly)
Returns the value of attribute agent_lock.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def agent_lock @agent_lock end |
#agent_store ⇒ Object (readonly)
Returns the value of attribute agent_store.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def agent_store @agent_store end |
#apm_conf ⇒ Object (readonly)
Returns the value of attribute apm_conf.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def apm_conf @apm_conf end |
#apm_gem ⇒ Object (readonly)
Returns the value of attribute apm_gem.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def apm_gem @apm_gem end |
#connect_data_uri ⇒ Object (readonly)
Returns the value of attribute connect_data_uri.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def connect_data_uri @connect_data_uri end |
#connect_trace_uri ⇒ Object (readonly)
Returns the value of attribute connect_trace_uri.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def connect_trace_uri @connect_trace_uri end |
#connect_uri ⇒ Object (readonly)
Returns the value of attribute connect_uri.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def connect_uri @connect_uri end |
#connection_open_timeout ⇒ Object (readonly)
Returns the value of attribute connection_open_timeout.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def connection_open_timeout @connection_open_timeout end |
#connection_read_timeout ⇒ Object (readonly)
Returns the value of attribute connection_read_timeout.
5 6 7 |
# File 'lib/agent/util/am_constants.rb', line 5 def connection_read_timeout @connection_read_timeout end |
#delete_agent ⇒ Object (readonly)
Returns the value of attribute delete_agent.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def delete_agent @delete_agent end |
#error_notfound ⇒ Object (readonly)
Returns the value of attribute error_notfound.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def error_notfound @error_notfound end |
#error_server ⇒ Object (readonly)
Returns the value of attribute error_server.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def error_server @error_server end |
#licence_exceeds ⇒ Object (readonly)
Returns the value of attribute licence_exceeds.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def licence_exceeds @licence_exceeds end |
#licence_expired ⇒ Object (readonly)
Returns the value of attribute licence_expired.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def licence_expired @licence_expired end |
#manage_agent ⇒ Object (readonly)
Returns the value of attribute manage_agent.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def manage_agent @manage_agent end |
#mf_all ⇒ Object (readonly)
Returns the value of attribute mf_all.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def mf_all @mf_all end |
#mf_apdex ⇒ Object (readonly)
Returns the value of attribute mf_apdex.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def mf_apdex @mf_apdex end |
#mf_db ⇒ Object (readonly)
Returns the value of attribute mf_db.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def mf_db @mf_db end |
#mf_name ⇒ Object (readonly)
Returns the value of attribute mf_name.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def mf_name @mf_name end |
#mf_namespace ⇒ Object (readonly)
Returns the value of attribute mf_namespace.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def mf_namespace @mf_namespace end |
#mf_separator ⇒ Object (readonly)
Returns the value of attribute mf_separator.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def mf_separator @mf_separator end |
#mf_transaction ⇒ Object (readonly)
Returns the value of attribute mf_transaction.
7 8 9 |
# File 'lib/agent/util/am_constants.rb', line 7 def mf_transaction @mf_transaction end |
#response_code ⇒ Object (readonly)
Returns the value of attribute response_code.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def response_code @response_code end |
#unmanage_agent ⇒ Object (readonly)
Returns the value of attribute unmanage_agent.
6 7 8 |
# File 'lib/agent/util/am_constants.rb', line 6 def unmanage_agent @unmanage_agent end |