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.

Metadata

Release files for opentelemetry-python-contrib-external-valkey 0.66b1

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.66b1
File Size Uploaded Provenance Actions
opentelemetry_python_contrib_external_valkey-0.66b1.tar.gz 12.5 kB Without provenance Details for opentelemetry_python_contrib_external_valkey-0.66b1.tar.gz

Built distribution (wheel)

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

Total release size: 28.7 kB

Release files / opentelemetry_python_contrib_external_valkey-0.66b1.tar.gz

Download URL opentelemetry_python_contrib_external_valkey-0.66b1.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8ba3f8a5c604a5334e759fd381b520b9d92ce2d3c3bea2a363668b94535d353f
BLAKE2b-256 checksum
How to use checksums
390b9a12f5a9ecafc9550ec95256b1b07b9c6e2d77001cc6fa495f925633b397
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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.66b1-py3-none-any.whl

Download URL opentelemetry_python_contrib_external_valkey-0.66b1-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75777cb79bceb3839af25413f4ad1f8005e445e35042da0f854b8b1bf4f3db4b
BLAKE2b-256 checksum
How to use checksums
7b90fce92a2fe69ec20696c3ba583abe51a90f1b737e04430e49ddded35e4098
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","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}

Security for opentelemetry-python-contrib-external-valkey 0.66b1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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