Module: Datadog::Tracing::Contrib::Redis::Patcher::NotSupportedNoticePatch::InstanceMethods
- Defined in:
- lib/datadog/tracing/contrib/redis/patcher.rb
Overview
Instance method patch for redis instance
Instance Method Summary collapse
Instance Method Details
#datadog_pin=(_pin) ⇒ Object
48 49 50 51 52 53 54 |
# File 'lib/datadog/tracing/contrib/redis/patcher.rb', line 48 def datadog_pin=(_pin) Datadog.logger.warn \ '`Datadog.configure_onto(redis)` is not supported on Redis 5+. To instrument '\ "a redis instance with custom configuration, please initialize it with:\n"\ " `Redis.new(..., custom: { datadog: { service_name: 'my-service' } })`.\n\n" \ 'See: https://github.com/DataDog/dd-trace-rb/blob/master/docs/GettingStarted.md#redis' end |