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



653
654
655
# File 'lib/datadog/core/configuration/settings.rb', line 653

def enabled
  @enabled
end

#experimental_runtime_id_enabledObject

Returns the value of attribute experimental_runtime_id_enabled.



659
660
661
# File 'lib/datadog/core/configuration/settings.rb', line 659

def experimental_runtime_id_enabled
  @experimental_runtime_id_enabled
end

#optsObject

Returns the value of attribute opts.



666
667
668
# File 'lib/datadog/core/configuration/settings.rb', line 666

def opts
  @opts
end

#statsdObject

Returns the value of attribute statsd.



667
668
669
# File 'lib/datadog/core/configuration/settings.rb', line 667

def statsd
  @statsd
end