v.25.10Improvement

Add a new ZooKeeperSessionExpired metric which indicates

Add a new ZooKeeperSessionExpired metric which indicates the number of expired global ZooKeeper sessions. #87613 (Miсhael Stetsyuk).
Added a new ZooKeeperSessionExpired metric to track the number of expired global ZooKeeper sessions in ClickHouse.

Why it matters

This feature helps users monitor the stability and health of their connection to ZooKeeper by providing visibility into how many global ZooKeeper sessions have expired. Tracking expired sessions can aid in diagnosing connectivity issues and improving cluster reliability.

How to use it

Users can view the ZooKeeperSessionExpired metric through their existing monitoring and metrics collection systems to keep track of expired ZooKeeper sessions. No additional configuration is required to enable this metric.