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