Skip to content

Commit

Permalink
Count distinct bundles (apache#4637)
Browse files Browse the repository at this point in the history
  • Loading branch information
rshermanTHG authored and merlimat committed Jun 28, 2019
1 parent 362be2a commit ce8f60a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/django/stats/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ def brokers_cluster(request, cluster_name):
)

brokers = brokers.annotate(
numBundles = Count('topic__bundle'),
numBundles = Count('topic__bundle', True),
numTopics = Count('topic'),
numProducers = Sum('topic__producerCount'),
numSubscriptions = Sum('topic__subscriptionCount'),
Expand Down

0 comments on commit ce8f60a

Please sign in to comment.