Metrics
Shard exposes a few metrics to give you better visibility into the state of your cluster. Those metrics are exposed via ZIO Metrics, which allows you to use the backend of your choice.
Metrics that depend on a role are tagged with role (the role name) so you can break them down per role. The shard-level Shard Manager gauges are additionally tagged with pod_address.
Shard Manager Metrics
shard.pods(gauge, tagged withrole): Number of pods currently registeredshard.shards_assigned(gauge, tagged withroleandpod_address): Number of shards currently assigned to a podshard.shards_unassigned(gauge, tagged withrole): Number of shards currently not assigned to any podshard.rebalances(counter, tagged withrole): Number of rebalances that have occurredshard.pod_health_checked(counter, tagged withpod_address): Number of times the health of a pod has been checked
Pod Metrics
shard.shards(gauge, tagged withrole): Number of shards currently assigned to the podshard.entities(gauge, tagged withroleandtype): Number of entities currently running on the podshard.singletons(gauge, tagged withroleandsingleton_name): Number of singletons currently running on the pod