v.25.3New Feature
Support the histogram metric type
Support for the histogram metric type. The interface closely mirrors the Prometheus client, where you simply callobserve(value)to increment the counter in the bucket corresponding to the value. The histogram metrics are exposed viasystem.histogram_metrics. #75736 (Miсhael Stetsyuk).
Why it matters
This feature enables users to collect and expose detailed histogram metrics, providing a granular view of value distributions over time. It solves the problem of insufficient metric types by introducing histogram support, valuable for performance monitoring and analysis. The metric data is accessible via thesystem.histogram_metrics table.How to use it
Users can create histogram metrics that track data distributions by calling theobserve(value) method to increment the count in the appropriate bucket. These histogram metrics are then exposed and can be queried using the system table system.histogram_metrics.