devsisters / shardcake

Sharding and location transparency for Scala
https://devsisters.github.io/shardcake/
Apache License 2.0
382 stars 29 forks source link

Fix unassignedShards metric and rename singletons metric tag #123

Closed ghostdogpr closed 3 months ago

ghostdogpr commented 3 months ago

unassignedShards wasn't updated on unregister which could cause the metric to be negative. name is too generic for a tag and is used for other purpose so renamed it to singleton_name.