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
When using Rails.cache.read_multi, using ActiveSupport::Cache::RedisCacheStore, the action is not instrumented. While read, write, fetch, write_multi and fetch_multi are.
Clearly linked. But in our case that's the other way around, as we have rails > 5.2 and don't use activesupport-redis, that's what I wanted to put in light. In our case, only ActiveSupport::Cache::Store is patched, and not ActiveSupport::Cache::RedisCacheStore
Hello 👋
Current behaviour
When using
Rails.cache.read_multi
, usingActiveSupport::Cache::RedisCacheStore
, the action is not instrumented. Whileread
,write
,fetch
,write_multi
andfetch_multi
are.This is because
ActiveSupport::Cache::RedisCacheStore
defines its ownread_multi
method, and we never go down into ddtrace wrapper method: https://github.com/rails/rails/blob/edbe4672e6b070ebaa5cd60810859e76c283a35a/activesupport/lib/active_support/cache/redis_cache_store.rb#L172Expected behaviour
ActiveSupport::Cache::RedisCacheStore#read_multi
is instrumented.Environment
The text was updated successfully, but these errors were encountered: