Class: Datadog::Core::Configuration::Settings::DSL::Profiling::Advanced::Endpoint
- Inherits:
-
Object
- Object
- Datadog::Core::Configuration::Settings::DSL::Profiling::Advanced::Endpoint
- Defined in:
- lib/datadog/core/configuration/settings.rb
Instance Method Summary collapse
-
#collection ⇒ Datadog::Core::Configuration::Settings::DSL::Profiling::Advanced::Endpoint::Collection
A configuration object.
Instance Method Details
#collection ⇒ Datadog::Core::Configuration::Settings::DSL::Profiling::Advanced::Endpoint::Collection
Returns a configuration object.
224 225 226 227 228 229 230 231 232 233 234 |
# File 'lib/datadog/core/configuration/settings.rb', line 224 settings :collection do # When using profiling together with tracing, this controls if endpoint names # are gathered and reported together with profiles. # # @default `DD_PROFILING_ENDPOINT_COLLECTION_ENABLED` environment variable, otherwise `true` # @return [Boolean] option :enabled do |o| o.default { env_to_bool(Profiling::Ext::ENV_ENDPOINT_COLLECTION_ENABLED, true) } o.lazy end end |