Class: Datadog::Core::Configuration::Settings::DSL::Apm
- Inherits:
-
Object
- Object
- Datadog::Core::Configuration::Settings::DSL::Apm
- Defined in:
- lib/datadog/core/configuration/settings.rb
Overview
Tracer specific configuration starting with APM (e.g. DD_APM_TRACING_ENABLED).
Defined Under Namespace
Classes: Tracing
Instance Method Summary collapse
-
#tracing ⇒ Datadog::Core::Configuration::Settings::DSL::Apm::Tracing
Tracing as a transport.
Instance Method Details
#tracing ⇒ Datadog::Core::Configuration::Settings::DSL::Apm::Tracing
Tracing as a transport
965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 |
# File 'lib/datadog/core/configuration/settings.rb', line 965 settings :tracing do # 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. # # @default `DD_APM_TRACING_ENABLED` environment variable, otherwise `true` # @return [Boolean] option :enabled do |o| o.env Configuration::Ext::APM::ENV_TRACING_ENABLED o.default true o.type :bool end end |