Class: Datadog::Core::Configuration::Settings::DSL::Apm::Tracing
- Inherits:
-
Object
- Object
- Datadog::Core::Configuration::Settings::DSL::Apm::Tracing
- Defined in:
- lib/datadog/core/configuration/settings.rb
Overview
Tracing as a transport
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
Enables tracing as transport.
Instance Attribute Details
#enabled ⇒ Boolean
Enables tracing as transport. Disabling it will set sampling priority to -1 (FORCE_DROP) on most traces, (which tells to the agent to drop these traces) except heartbeat ones (1 per minute) and manually kept ones (sampling priority to 2) (e.g. appsec events)
This is different than DD_TRACE_ENABLED
, which completely disables tracing (sends no trace at all),
while this will send heartbeat traces (1 per minute) so that the service is considered alive in the backend.
976 977 978 |
# File 'lib/datadog/core/configuration/settings.rb', line 976 def enabled @enabled end |