v.22.11Improvement

Add FailedAsyncInsertQuery Event Metric for Async Inserts

Add FailedAsyncInsertQuery event metric for async inserts. #42814 (Krzysztof Góralski).
Added a new metric event FailedAsyncInsertQuery to track failures in asynchronous insert queries.

Why it matters

This feature provides visibility into failed async insert operations, allowing users to monitor and troubleshoot issues related to asynchronous data insertion in ClickHouse. It helps improve observability and reliability of insert workflows.

How to use it

Users can utilize the FailedAsyncInsertQuery metric event in their monitoring or alerting systems to detect and respond to async insert failures. The metric becomes available automatically once the update including the feature is applied.