Class: Datadog::Core::Configuration::Settings::DSL::RuntimeMetrics

Inherits:
Object
  • Object
show all
Defined in:
lib/datadog/core/configuration/settings.rb

Overview

Runtime Metrics are StatsD metrics collected by the tracer to gain additional insights into an application's performance.

Instance Attribute Summary collapse

Instance Attribute Details

#enabledBoolean

Enable runtime metrics.

Returns:

  • (Boolean)

Defaults to:

  • DD_RUNTIME_METRICS_ENABLED environment variable, otherwise false



556
557
558
# File 'lib/datadog/core/configuration/settings.rb', line 556

def enabled
  @enabled
end

#optsObject

Returns the value of attribute opts.



562
563
564
# File 'lib/datadog/core/configuration/settings.rb', line 562

def opts
  @opts
end

#statsdObject

Returns the value of attribute statsd.



563
564
565
# File 'lib/datadog/core/configuration/settings.rb', line 563

def statsd
  @statsd
end