v.25.8Improvement

Add a dimensional metric for the size

Add a dimensional metric for the size of ConcurrentBoundedQueue, labelled by the queue type (i.e. what the queue is there for) and queue id (i.e. randomly generated id for the current instance of the queue). #84675 (Miсhael Stetsyuk).
Added a dimensional metric to measure the size of ConcurrentBoundedQueue, labeled by queue type and queue id.

Why it matters

This feature provides insight into the size and usage of concurrent bounded queues within ClickHouse. By labeling metrics with queue type and instance id, it helps users monitor queue behavior, diagnose bottlenecks, and improve resource management.

How to use it

Users can access the new metric through their monitoring systems that collect ClickHouse metrics. The metric includes labels for the queue type and the randomly generated queue id, enabling detailed analysis of individual queue instances.