feat(monitor): hop-by-hop latency metrics for forwarding chain (#394)

This commit is contained in:
sagit
2026-03-29 18:59:06 +08:00
committed by GitHub
parent 701b4011cb
commit 87722e461c
6 changed files with 195 additions and 21 deletions
+12
View File
@@ -489,6 +489,17 @@ export interface MonitorAccessApiData {
reason?: string;
}
export interface TunnelQualityHopApiItem {
fromNodeId: number;
fromNodeName: string;
toNodeId: number;
toNodeName: string;
latency: number;
loss: number;
targetIp?: string;
targetPort?: number;
}
export interface TunnelQualityApiItem {
tunnelId: number;
entryToExitLatency: number;
@@ -498,4 +509,5 @@ export interface TunnelQualityApiItem {
success: boolean;
errorMessage?: string;
timestamp: number;
chainDetails?: string;
}