v.23.2Improvement

Add ProfileEvents and CurrentMetrics for Parallel Replicas Callback Tasks

Add ProfileEvents and CurrentMetrics about the callback tasks for parallel replicas (s3Cluster and MergeTree tables). #46313 (Alexey Milovidov).
Added ProfileEvents and CurrentMetrics to monitor callback tasks related to parallel replicas in s3Cluster and MergeTree tables.

Why it matters

This feature provides visibility into the operations of callback tasks for parallel replicas, helping users track performance and resource usage efficiently in distributed ClickHouse setups using s3Cluster and MergeTree tables.

How to use it

Users can view the new ProfileEvents and CurrentMetrics related to callback tasks through existing monitoring tools and queries that access these metrics. No additional configuration is required to enable these metrics.