File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -236,7 +236,7 @@ def on_partitions_assigned(partitions: Mapping[Partition, int]) -> None:
236236 logger .info ("New partitions assigned: %r" , partitions )
237237 logger .info ("Member id: %r" , self .__consumer .member_id )
238238 self .__metrics_buffer .metrics .increment (
239- "arroyo.consumer.partitions_assigned.count" , len (partitions )
239+ "arroyo.consumer.partitions_assigned.count" , len (partitions ), tags = { "consumer_member_id" : self . __consumer . member_id }
240240 )
241241
242242 current_partitions = dict (self .__consumer .tell ())
@@ -262,7 +262,7 @@ def on_partitions_revoked(partitions: Sequence[Partition]) -> None:
262262 logger .info ("Partitions to revoke: %r" , partitions )
263263
264264 self .__metrics_buffer .metrics .increment (
265- "arroyo.consumer.partitions_revoked.count" , len (partitions )
265+ "arroyo.consumer.partitions_revoked.count" , len (partitions ), tags = { "consumer_member_id" : self . __consumer . member_id }
266266 )
267267
268268 if partitions :
You can’t perform that action at this time.
0 commit comments