Skip to content

Redis instrumentation doesn't work with latest redis-rb library version #1931

@Linuus

Description

@Linuus

Issue Description

I don't see any Redis traces in Sentry anymore. I think it's since redis-rb was updated a while back to v5.

I believe the issue is that you are patching the logging method in Redis::Client here. But, that method has been removed as you can see in the latest Redis::Client code here.

Reproduction Steps

Run code that calls Redis, using redis-rb version > 5

Expected Behavior

There should be a redis trace span in Sentry

Actual Behavior

There is no redis trace Span in Sentry. It just says "Missing Instrumentation".

Ruby Version

3.1.2

SDK Version

5.5.0

Integration and Its Version

No response

Sentry Config

No response

Metadata

Metadata

Assignees

Labels

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions