File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
sentry_sdk/integrations/redis Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -112,10 +112,7 @@ def _set_pipeline_data(
112112 is_transaction : bool ,
113113 commands_seq : "Sequence[Any]" ,
114114) -> None :
115- if isinstance (span , StreamedSpan ):
116- span .set_attribute ("redis.is_cluster" , is_cluster )
117- span .set_attribute ("redis.transaction" , is_transaction )
118- else :
115+ if isinstance (span , Span ):
119116 span .set_tag ("redis.is_cluster" , is_cluster )
120117 span .set_tag ("redis.transaction" , is_transaction )
121118
@@ -129,13 +126,9 @@ def _set_pipeline_data(
129126
130127 if isinstance (span , StreamedSpan ):
131128 span .set_attribute (
132- "redis.commands.count " ,
129+ "db. redis.pipeline_length " ,
133130 len (commands_seq ),
134131 )
135- span .set_attribute (
136- "redis.commands.first_ten" ,
137- commands ,
138- )
139132 else :
140133 span .set_data (
141134 "redis.commands" ,
You can’t perform that action at this time.
0 commit comments