Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

opentelemetry-python-contrib-external-valkey

OpenTelemetry instrumentation for the Valkey Python Client.

How do I install it?

opentelemetry-python-contrib-external-valkey is available on PyPI. You can install it with

pip install opentelemetry-python-contrib-external-valkey

or

uv add opentelemetry-python-contrib-external-valkey

or something equivalent.

How do I use it?

For global instrumentation of the Valkey Python client you can do

from opentelemetry.instrumentation.valkey import ValkeyInstrumentor

ValkeyInstrumentor().instrument()

For more detailed documentation please have a look at the opentelemetry-instrumentation-redis documentation and just replace [rR]edis with [vV]alkey.

Why is this needed?

opentelemetry-instrumentation-redis instruments the redis module and has multiple isinstance checks for classes from it. Since the Valkey Python Client is a fork of the Redis Python Client, any instrumentation through opentelemetry-instrumentation-redis has no effect on the valkey module or any of its classes. opentelemetry-python-contrib-external-valkey fills this gap until Valkey is officially supported and gives Valkey users the same user experience for instrumentation as Redis users.

How does it work?

This repository is a fork of opentelemetry-python-contrib and specifically the instrumentation/opentelemetry-instrumentation-redis folder. 95% and more of the changes in the src and tests folders are just replacing the strings redis and Redis with valkey and Valkey respectively.

Release files for opentelemetry-python-contrib-external-valkey 0.65b0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opentelemetry-python-contrib-external-valkey 0.65b0
File Size Uploaded
opentelemetry_python_contrib_external_valkey-0.65b0.tar.gz 12.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for opentelemetry-python-contrib-external-valkey 0.65b0
File Interpreter ABI Platform
opentelemetry_python_contrib_external_valkey-0.65b0-py3-none-any.whl Python 3 none any Details

Total release size: 28.3 kB

Release files / opentelemetry_python_contrib_external_valkey-0.65b0.tar.gz

Download URL opentelemetry_python_contrib_external_valkey-0.65b0.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
316787426d6862cf49fa4a7506ae14b3fa27766fc960659dc429b640683f6531
BLAKE2b-256 checksum
How to use checksums
e8ad10a9135795629941ba7a4199eaa2f8727135850c9a61ffce93d76727e630
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / opentelemetry_python_contrib_external_valkey-0.65b0-py3-none-any.whl

Download URL opentelemetry_python_contrib_external_valkey-0.65b0-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3c2ab798f36c622829fefe6177b7298e0372a089d0b4e4b3afc80f331bdfd1e7
BLAKE2b-256 checksum
How to use checksums
a88c1c91fba7fb7997184c90fcb693702a894da1ce34ffcd1d25a410b078e5c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.19 {"installer":{"name":"uv","version":"0.12.19","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page