Currently when there are multiple cache keys (for example in mget in redis) we are only checking the first for cache_prefixes.
We should check all the keys and if one contains the prefix, considered it a cache span.
Here: https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/integrations/redis/modules/caches.py#L37
Currently when there are multiple cache keys (for example in
mgetinredis) we are only checking the first forcache_prefixes.We should check all the keys and if one contains the prefix, considered it a cache span.
Here: https://github.com/getsentry/sentry-python/blob/master/sentry_sdk/integrations/redis/modules/caches.py#L37