mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-08 05:52:55 +00:00
Fix active_timelines_count metric (#6839)
This commit is contained in:
committed by
GitHub
parent
d152d4f16f
commit
9b8df2634f
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user