File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ async def test_async_redis_pipeline(
8080 assert pipeline_span ["name" ] == "redis.pipeline.execute"
8181 attrs = pipeline_span ["attributes" ]
8282 assert attrs ["sentry.op" ] == "db.redis"
83- assert attrs ["db.system.name" ] == "redis-py "
83+ assert attrs ["db.system.name" ] == "redis"
8484 assert attrs [SPANDATA .DB_DRIVER_NAME ] == "redis-py"
8585 assert attrs ["db.namespace" ] == "0"
8686 assert attrs [SPANDATA .SERVER_ADDRESS ] == (
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ def test_rediscluster_basic(
9797 assert span ["name" ] == description
9898 attrs = span ["attributes" ]
9999 assert attrs ["sentry.op" ] == "db.redis"
100- assert attrs ["db.system.name" ] == "redis-py "
100+ assert attrs ["db.system.name" ] == "redis"
101101 assert attrs [SPANDATA .DB_DRIVER_NAME ] == "redis-py"
102102 # ClusterNode converts localhost to 127.0.0.1
103103 assert attrs [SPANDATA .SERVER_ADDRESS ] == "127.0.0.1"
@@ -184,7 +184,7 @@ def test_rediscluster_pipeline(
184184 assert pipeline_span ["name" ] == "redis.pipeline.execute"
185185 attrs = pipeline_span ["attributes" ]
186186 assert attrs ["sentry.op" ] == "db.redis"
187- assert attrs ["db.system.name" ] == "redis-py "
187+ assert attrs ["db.system.name" ] == "redis"
188188 assert attrs [SPANDATA .DB_DRIVER_NAME ] == "redis-py"
189189 # ClusterNode converts localhost to 127.0.0.1
190190 assert attrs [SPANDATA .SERVER_ADDRESS ] == "127.0.0.1"
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ async def test_async_basic(
101101 assert redis_span ["name" ] == description
102102 attrs = redis_span ["attributes" ]
103103 assert attrs ["sentry.op" ] == "db.redis"
104- assert attrs ["db.system.name" ] == "redis-py "
104+ assert attrs ["db.system.name" ] == "redis"
105105 assert attrs [SPANDATA .DB_DRIVER_NAME ] == "redis-py"
106106 assert attrs [SPANDATA .SERVER_ADDRESS ] == "127.0.0.1"
107107 assert attrs [SPANDATA .SERVER_PORT ] == 6379
@@ -175,7 +175,7 @@ async def test_async_redis_pipeline(
175175 assert pipeline_span ["name" ] == "redis.pipeline.execute"
176176 attrs = pipeline_span ["attributes" ]
177177 assert attrs ["sentry.op" ] == "db.redis"
178- assert attrs ["db.system.name" ] == "redis-py "
178+ assert attrs ["db.system.name" ] == "redis"
179179 assert attrs [SPANDATA .DB_DRIVER_NAME ] == "redis-py"
180180 assert attrs [SPANDATA .SERVER_ADDRESS ] == "127.0.0.1"
181181 assert attrs [SPANDATA .SERVER_PORT ] == 6379
You can’t perform that action at this time.
0 commit comments