Class: Datadog::Core::Configuration::Settings::DSL::Agent
- Inherits:
-
Object
- Object
- Datadog::Core::Configuration::Settings::DSL::Agent
- Defined in:
- lib/datadog/core/configuration/settings.rb
Overview
Datadog Agent configuration.
Instance Attribute Summary collapse
-
#host ⇒ String?
Agent hostname or IP.
-
#port ⇒ String?
Agent APM TCP port.
-
#timeout_seconds ⇒ Integer?
Agent APM Timeout.
-
#uds_path ⇒ String?
Agent unix domain socket path.
-
#use_ssl ⇒ Boolean?
Agent APM SSL.
Instance Attribute Details
#host ⇒ String?
Agent hostname or IP.
58 59 60 |
# File 'lib/datadog/core/configuration/settings.rb', line 58 def host @host end |
#port ⇒ String?
Agent APM TCP port.
64 65 66 |
# File 'lib/datadog/core/configuration/settings.rb', line 64 def port @port end |
#timeout_seconds ⇒ Integer?
Agent APM Timeout.
77 78 79 |
# File 'lib/datadog/core/configuration/settings.rb', line 77 def timeout_seconds @timeout_seconds end |
#uds_path ⇒ String?
Agent unix domain socket path. Agent connects via HTTP by default, but will use UDS if this is set or if unix scheme defined in DD_TRACE_AGENT_URL.
84 85 86 |
# File 'lib/datadog/core/configuration/settings.rb', line 84 def uds_path @uds_path end |
#use_ssl ⇒ Boolean?
Agent APM SSL. Only applies to http connections.
71 72 73 |
# File 'lib/datadog/core/configuration/settings.rb', line 71 def use_ssl @use_ssl end |