Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Valkey Instrumentation #4607

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
kenwjiang opened this issue May 30, 2025 · 1 comment
Open

Valkey Instrumentation #4607

kenwjiang opened this issue May 30, 2025 · 1 comment

Comments

@kenwjiang
Copy link

Is your feature request related to a problem?

Hi, I'm wondering if there are any planned support for instrumenting Valkey cache? The existing Redis instrumentation does not show traces for this package https://github.com/valkey-io/valkey-py

Describe the solution you'd like

I would like to be able to use otel instrumentation to get Valkey db traces

Describe alternatives you've considered

No response

Additional Context

No response

Would you like to implement a fix?

None

@sightseeker
Copy link

Hi! I've created a PR to add Valkey instrumentation support: open-telemetry/opentelemetry-python-contrib#3478

This PR adds a new opentelemetry-instrumentation-valkey package that provides OpenTelemetry instrumentation for the valkey-py client. The implementation follows the same patterns as the existing Redis instrumentation and includes:

  • Automatic span creation for Valkey operations
  • Support for both sync and async clients
  • Configurable span attributes
  • Comprehensive test coverage

Please feel free to review and provide feedback. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants