import type { ServerMetrics } from '../../types'; import { formatBytes, formatUptime, formatPercent, formatLatencyMs } from '../../utils/format'; import './ServerDetail.css'; interface ServerDetailProps { metrics: ServerMetrics; serverName: string; onClose: () => void; } export const ServerDetail = ({ metrics, serverName, onClose }: ServerDetailProps) => { return (
下列指标均在采集器所在机器上探测:第一项为到监控中心 gRPC 地址的 TCP 建连时间;外网三项为采集端对公网站点的 TCP(:80 / :443)建连耗时,非 ICMP ping。