{"library":"opentelemetry-python-contrib-external-valkey","title":"OpenTelemetry Valkey Instrumentation","description":"Auto-instrumentation for Valkey (a Redis-compatible key-value store) via OpenTelemetry. Currently at version 0.62b0, released as part of the opentelemetry-python-contrib-external repository. Follows OpenTelemetry semantic conventions; compatible with Python >=3.9.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install opentelemetry-python-contrib-external-valkey","pip install opentelemetry-distro opentelemetry-exporter-otlp"],"cli":null},"imports":["from opentelemetry.instrumentation.valkey import ValkeyInstrumentor"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from opentelemetry.instrumentation.valkey import ValkeyInstrumentor\nfrom valkey import Valkey\n\n# Instrument Valkey automatically\nValkeyInstrumentor().instrument()\n\n# Create a Valkey client\nclient = Valkey(host='localhost', port=6379, db=0)\nclient.set('key', 'value')\nprint(client.get('key'))","lang":"python","description":"Basic auto-instrumentation of Valkey client","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}