v.23.3Improvement

Add WriteBufferFromS3 Profile Events

Add WriteBufferFromS3Microseconds and WriteBufferFromS3RequestsErrors profile events. #47885 (Antonio Andelic).
Added two new profile events, WriteBufferFromS3Microseconds and WriteBufferFromS3RequestsErrors, to track the performance and error metrics related to writing buffers to S3 storage.

Why it matters

These profile events provide detailed visibility into the time spent on write buffer operations with S3 and the number of request errors encountered. This helps users monitor and diagnose performance issues and reliability problems when ClickHouse interacts with S3-compatible storage for buffering.

How to use it

Users can monitor the newly added profile events WriteBufferFromS3Microseconds and WriteBufferFromS3RequestsErrors through ClickHouse's system profile events interfaces and tools to gather insights about write buffer performance and errors during S3 operations.