Registry /
observability / opentelemetry-python-contrib-external-valkey
Install & Compatibility
Where this runs
tested against v0.63b1 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.910 runs
installs and imports cleanly · install 0.0s · import 0.000s · 22.4MB
glibcpy 3.10–3.910 runs
installs and imports cleanly · install 4.1s · import 0.000s · 23MB
21MB installed
● package 21MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
ValkeyInstrumentor
✓ from opentelemetry.instrumentation.valkey import ValkeyInstrumentor
✗ from opentelemetry.instrumentation.valkey import ValkeyInstrumentor
Basic auto-instrumentation of Valkey client
from opentelemetry.instrumentation.valkey import ValkeyInstrumentor
from valkey import Valkey
# Instrument Valkey automatically
ValkeyInstrumentor().instrument()
# Create a Valkey client
client = Valkey(host='localhost', port=6379, db=0)
client.set('key', 'value')
print(client.get('key'))
Upgrade
Version history
0.63b1latest on PyPI · released May 22, 2026
Audit
Dependencies
opentelemetry-apirequiredCore API dependency
opentelemetry-instrumentationrequiredBase instrumentation package
valkeyrequiredInstrumentation requires Valkey client library