feat(monitoring): add frontend and backend protocol distribution metrics to network stats

This commit is contained in:
2026-04-04 16:45:02 +00:00
parent 94f53f0259
commit 6c3d8714a2
11 changed files with 135 additions and 16 deletions

View File

@@ -166,6 +166,21 @@ export interface INetworkMetrics {
requestsPerSecond?: number;
requestsTotal?: number;
backends?: IBackendInfo[];
frontendProtocols?: IProtocolDistribution | null;
backendProtocols?: IProtocolDistribution | null;
}
export interface IProtocolDistribution {
h1Active: number;
h1Total: number;
h2Active: number;
h2Total: number;
h3Active: number;
h3Total: number;
wsActive: number;
wsTotal: number;
otherActive: number;
otherTotal: number;
}
export interface IConnectionDetails {