Fix active_timelines_count metric (#6839)

This commit is contained in:
Arthur Petukhovsky
2024-02-20 15:55:51 +00:00
committed by GitHub
parent d152d4f16f
commit 9b8df2634f

View File

@@ -695,9 +695,11 @@ impl Collector for TimelineCollector {
// report total number of timelines
self.timelines_count.set(timelines_count as i64);
mfs.extend(self.timelines_count.collect());
self.active_timelines_count
.set(active_timelines_count as i64);
mfs.extend(self.timelines_count.collect());
mfs.extend(self.active_timelines_count.collect());
mfs
}