v.23.11New Feature

Expose Error Counts by Code Since Last Server Restart

Expose the number of errors for each error code occurred on a server since last restart from the Prometheus endpoint. #57209 (Nikita Mikhaylov).
Expose error counts for each error code that occurred on the server since the last restart via the Prometheus metrics endpoint.

Why it matters

This feature enables monitoring and alerting on the frequency and types of errors generated by ClickHouse, improving observability and helping users identify issues promptly.

How to use it

Ensure the Prometheus metrics endpoint is enabled in your ClickHouse server configuration to start collecting error count metrics automatically.