Skip to content

Commit

Permalink
Fix assignedShards metric (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
ghostdogpr authored Apr 24, 2024
1 parent 65b15e8 commit d66027d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ class ShardManager(
)
}
_ <- ManagerMetrics.pods.decrement
_ <- ManagerMetrics.assignedShards.tagged("pod_address", podAddress.toString).decrementBy(unassignments.size)
_ <- ManagerMetrics.unassignedShards.incrementBy(unassignments.size)
_ <- eventsHub.publish(ShardingEvent.PodUnregistered(podAddress))
_ <- eventsHub
Expand Down

0 comments on commit d66027d

Please sign in to comment.