You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current behaviour
If redis-activesupport is present, then only ActiveSupport::Cache::RedisStore is patched (for methods that it has), and ActiveSupport::Cache::Store is not patched.
Current behaviour
If
redis-activesupport
is present, then onlyActiveSupport::Cache::RedisStore
is patched (for methods that it has), andActiveSupport::Cache::Store
is not patched.dd-trace-rb/lib/datadog/tracing/contrib/active_support/cache/redis.rb
Lines 25 to 38 in 210ed96
Expected behaviour
ActiveSupport::Cache::Store
is always patched, because it may be used with cache backends other than redis.Steps to reproduce
redis-activesupport
presentActiveSupport::Cache::MemCacheStore
):write
method ofActiveSupport::Cache::Store
)One solution could be to patch multiple classes - ie if redis is present and defines the method, patch both classes, rather than one or the other.
Environment
Datadog.configure ...
):The text was updated successfully, but these errors were encountered: