Class: Datadog::Tracing::Contrib::Redis::Configuration::Resolver

Inherits:
Configuration::Resolver show all
Defined in:
lib/datadog/tracing/contrib/redis/configuration/resolver.rb

Overview

Converts String URLs and Hashes to a normalized connection settings Hash.

Instance Attribute Summary

Attributes inherited from Configuration::Resolver

#configurations

Instance Method Summary collapse

Methods inherited from Configuration::Resolver

#add, #get, #initialize

Constructor Details

This class inherits a constructor from Datadog::Tracing::Contrib::Configuration::Resolver

Instance Method Details

#resolve(hash) ⇒ Object

Parameters:

  • Redis (Hash, String)

    connection information



15
16
17
# File 'lib/datadog/tracing/contrib/redis/configuration/resolver.rb', line 15

def resolve(hash)
  super(parse_matcher(hash))
end