Class: Datadog::Core::Configuration::Settings::DSL::Telemetry
- Inherits:
-
Object
- Object
- Datadog::Core::Configuration::Settings::DSL::Telemetry
- Defined in:
- lib/datadog/core/configuration/settings.rb
Overview
Client-side telemetry configuration
Instance Attribute Summary collapse
-
#debug ⇒ Boolean
For internal use only.
-
#dependency_collection ⇒ Boolean
Whether the bundled Ruby gems as reported through telemetry.
-
#enabled ⇒ Boolean
Enable telemetry collection.
-
#log_collection_enabled ⇒ Boolean
Enable log collection for telemetry.
-
#metrics_enabled ⇒ Boolean
Enable metrics collection for telemetry.
Instance Attribute Details
#debug ⇒ Boolean
For internal use only. Enables telemetry debugging through the Datadog platform.
1018 1019 1020 |
# File 'lib/datadog/core/configuration/settings.rb', line 1018 def debug @debug end |
#dependency_collection ⇒ Boolean
Whether the bundled Ruby gems as reported through telemetry.
863 864 865 |
# File 'lib/datadog/core/configuration/settings.rb', line 863 def dependency_collection @dependency_collection end |
#enabled ⇒ Boolean
Enable telemetry collection. This allows telemetry events to be emitted to the telemetry API.
875 876 877 |
# File 'lib/datadog/core/configuration/settings.rb', line 875 def enabled @enabled end |
#log_collection_enabled ⇒ Boolean
Enable log collection for telemetry. Log collection only works when telemetry is enabled and logs are enabled.
1007 1008 1009 |
# File 'lib/datadog/core/configuration/settings.rb', line 1007 def log_collection_enabled @log_collection_enabled end |
#metrics_enabled ⇒ Boolean
Enable metrics collection for telemetry. Metrics collection only works when telemetry is enabled and metrics are enabled.
914 915 916 |
# File 'lib/datadog/core/configuration/settings.rb', line 914 def metrics_enabled @metrics_enabled end |