metrics: peak gauges for in-flight queries, stream connections and the query log queue
This commit is contained in:
@@ -125,6 +125,10 @@ pub const DotServer = struct {
|
||||
self.* = undefined;
|
||||
}
|
||||
|
||||
pub fn connectionsPeak(self: *const DotServer) u64 {
|
||||
return self.core.connectionsPeak();
|
||||
}
|
||||
|
||||
pub fn snapshotStats(self: *const DotServer) StatsSnapshot {
|
||||
const core = &self.core.stats;
|
||||
return .{
|
||||
|
||||
Reference in New Issue
Block a user