Class: Datadog::Configuration::Settings
- Inherits:
-
Object
- Object
- Datadog::Configuration::Settings
- Includes:
- Base
- Defined in:
- lib/ddtrace/configuration/settings.rb
Overview
Global configuration settings for the trace library.
Instance Method Summary collapse
-
#runtime_metrics(options = nil) ⇒ Object
Backwards compatibility for configuring runtime metrics e.g.
Methods included from Base
Instance Method Details
#runtime_metrics(options = nil) ⇒ Object
Backwards compatibility for configuring runtime metrics e.g. ‘c.runtime_metrics enabled: true`
75 76 77 78 79 80 81 |
# File 'lib/ddtrace/configuration/settings.rb', line 75 def runtime_metrics( = nil) runtime_metrics = get_option(:tracer).writer.runtime_metrics return runtime_metrics if .nil? # TODO: Raise deprecation warning runtime_metrics.configure() end |