Open healfy opened 1 year ago
Hi, just wondering -- is the code you want to instrument using the aioredis
library and not the redis
one?
Hi, You can see in the top that I use redis==4.6.0
Ok, thanks. I saw redis = await from_url
which from searching around looks like aioredis
.
@pmcollins You can use async with redis-py https://redis.readthedocs.io/en/stable/examples/asyncio_examples.html
Describe your environment Python == 3.9.9 opentelemetry-instrumentation-redis==0.40b0 redis==4.6.0
Steps to reproduce
What is the expected behavior? There are no warnings in logs
What is the actual behavior?
The issue is in this function:
the result of
db = conn_kwargs.get("db", 0)
isNone
, and it's common behaviour for python Just use