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.
60 61 62 |
# File 'lib/datadog/core/configuration/settings.rb', line 60 def host @host end |
#port ⇒ String?
Agent APM TCP port.
66 67 68 |
# File 'lib/datadog/core/configuration/settings.rb', line 66 def port @port end |
#timeout_seconds ⇒ Integer?
Agent APM Timeout.
79 80 81 |
# File 'lib/datadog/core/configuration/settings.rb', line 79 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.
86 87 88 |
# File 'lib/datadog/core/configuration/settings.rb', line 86 def uds_path @uds_path end |
#use_ssl ⇒ Boolean?
Agent APM SSL. Only applies to http connections.
73 74 75 |
# File 'lib/datadog/core/configuration/settings.rb', line 73 def use_ssl @use_ssl end |