Sha256: ae3a6558e6e0e9a049de3d32d881fd26965e5e439411aee95f453e8b861c3fbe
Contents?: true
Size: 675 Bytes
Versions: 20
Compression:
Stored size: 675 Bytes
Contents
require 'ddtrace/contrib/configuration/settings' require 'ddtrace/contrib/grpc/ext' module Datadog module Contrib module GRPC module Configuration # Custom settings for the gRPC integration class Settings < Contrib::Configuration::Settings option :analytics_enabled do |o| o.default { env_to_bool(Ext::ENV_ANALYTICS_ENABLED, false) } o.lazy end option :analytics_sample_rate do |o| o.default { env_to_float(Ext::ENV_ANALYTICS_SAMPLE_RATE, 1.0) } o.lazy end option :service_name, default: Ext::SERVICE_NAME end end end end end
Version data entries
20 entries across 20 versions & 2 rubygems