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.66b0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| opentelemetry_python_contrib_external_valkey-0.66b0.tar.gz | 12.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| opentelemetry_python_contrib_external_valkey-0.66b0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.7 kB
Release files / opentelemetry_python_contrib_external_valkey-0.66b0.tar.gz
| Download URL | opentelemetry_python_contrib_external_valkey-0.66b0.tar.gz |
|---|---|
| Size | 12.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f6c3ef3d5c160b4b66a38d4a18ad519975ce6d0cfae4a7afebfc427e06a71d7a
|
|
BLAKE2b-256 checksum How to use checksums |
727bd26d88e25a22c49f1bac5a2fff45f82c8a991d9a5af330928e4b405e1e8f
|
| 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.66b0-py3-none-any.whl
| Download URL | opentelemetry_python_contrib_external_valkey-0.66b0-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3d419fb2b0ee2d0a60aca8b48e15c6e0b6b897a62552cb8dc94dbb0367c8e523
|
|
BLAKE2b-256 checksum How to use checksums |
48a1a1aa3da71898884c3ad4f0b50aba1df4582465b4778508e16af5275b0f96
|
| 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}
|