v.19.14Improvement

Added a Metric Distributedfilestoinsert That Shows the Total Number of Files in Filesystem That Are Selected to Send to Remote Servers by Distributed Tables

Added a metric DistributedFilesToInsert that shows the total number of files in filesystem that are selected to send to remote servers by Distributed tables. The number is summed across all shards. #6600 (alexey-milovidov)
Added a new metric DistributedFilesToInsert that displays the total number of files in the filesystem queued to be sent to remote servers by Distributed tables, aggregated across all shards.

Why it matters

This metric helps users monitor and understand the amount of data pending to be distributed across remote servers in a cluster, providing better insight into the workload and potential bottlenecks in the Distributed tables replication process.

How to use it

Users can query the DistributedFilesToInsert metric from their monitoring tools or system tables to track the count of files waiting to be sent by Distributed tables. No special configuration is required beyond using Distributed tables in their setup.