Skip to content

Tracing redis commands (spring-data-redis) #12899

@AmitBarlev

Description

@AmitBarlev

Is your feature request related to a problem? Please describe.

I've been searching but couldn't find any relevant examples.
Is there an API available to trace commands of ReactiveRedisConnection using OpenTelemetry? I came across this, but I'm unsure how OpenTelemetry fits into this.
My goal is to trace individual commands like GET or SET, rather than using Repositories.
Thanks!

Describe the solution you'd like

Whenever I utilize the ReactiveRedisConnection or ReactiveRedisTemplate to execute a Redis operation, I aim for that operation to be traced. For instance, if I need to retrieve a value, I would like to have the GET command traced by the end of the process.

Describe alternatives you've considered

Implementation using AOP

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions