Skip to content

log_consumer_segments_behind

Type: Gauge
Labels: log_dir, checkpoint_name
The number of whole log segments not yet processed by a consumer.

Info

This metric has labels, which means that the system will track the metric for each combination of the possible labels that are active. Certain labels, especially those that correlate with source or destination addresses or domains, can have high cardinality. High cardinality metrics may require some care and attention when provisioning a downstream metrics server.

Labelled by: * log_dir - the log directory being scanned * checkpoint_name - the name set by the tailer of the consumer for its checkpoint.

A sample value is log_consumer_segments_behind{log_dir="/var/log/kumomta",checkpoint_name="cp"} 3.