From 0a545bf325cfbaa42d1d645c66e4d7654e413c44 Mon Sep 17 00:00:00 2001 From: "Carol (Nichols || Goulding)" Date: Mon, 18 Jul 2022 15:24:29 -0400 Subject: [PATCH] fix: Clarify how metrics are recorded in the docs for the metric fields --- compactor/src/compact.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/compactor/src/compact.rs b/compactor/src/compact.rs index 2bd378fa81..13d9385cc8 100644 --- a/compactor/src/compact.rs +++ b/compactor/src/compact.rs @@ -245,10 +245,13 @@ pub struct Compactor { /// Gauge for the number of compaction partition candidates compaction_candidate_gauge: Metric, - /// Gauge for the number of Parquet file candidates + /// Gauge for the number of Parquet file candidates. The recorded values have attributes for + /// the compaction level of the file and whether the file was selected for compaction or not. pub(crate) parquet_file_candidate_gauge: Metric, - /// Gauge for the number of bytes of Parquet file candidates + /// Gauge for the number of bytes of Parquet file candidates. The recorded values have + /// attributes for the compaction level of the file and whether the file was selected for + /// compaction or not. pub(crate) parquet_file_candidate_bytes_gauge: Metric, /// Histogram for tracking the time to compact a partition