fix(monitor): add vm out bandwidth metric (#24416)

This commit is contained in:
屈轩
2026-03-11 13:49:50 +08:00
committed by GitHub
parent 9cbf9a27dc
commit 2f8f46f890
2 changed files with 7 additions and 0 deletions
@@ -310,10 +310,12 @@ Measurement,MeasurementNote,ResourceType,Database,Metric,MetricNote,MetricUnit
"vm_netio","Guest network traffic","guest","telegraf","bps_sent","Send traffic per second","bps"
"vm_netio","Guest network traffic","guest","telegraf","pps_recv","Received packets per second","pps"
"vm_netio","Guest network traffic","guest","telegraf","pps_sent","Send packets per second","pps"
"vm_netio","Guest network traffic","guest","telegraf","bytes_sent","The total number of bytes sent by the network interface","byte"
"vm_netio","Guest network traffic","guest","telegraf","bytes_recv","The total number of bytes received by the network interface","byte"
"vm_netio","Guest network traffic","guest","telegraf","packets_sent","The total number of packets sent by the network interface","count"
"vm_netio","Guest network traffic","guest","telegraf","packets_recv","The total number of packets received by the network interface","count"
"vm_netio","Guest network traffic","guest","telegraf","out_bandwidth_usage","Outbound bandwidth utilization","%"
"pod_netio","Pod network traffic","container","telegraf","bps_recv","Received traffic per second","bps"
"pod_netio","Pod network traffic","container","telegraf","bps_sent","Send traffic per second","bps"
"pod_netio","Pod network traffic","container","telegraf","pps_recv","Received packets per second","pps"
1 Measurement MeasurementNote ResourceType Database Metric MetricNote MetricUnit
310 vm_netio Guest network traffic guest telegraf bps_sent Send traffic per second bps
311 vm_netio Guest network traffic guest telegraf pps_recv Received packets per second pps
312 vm_netio Guest network traffic guest telegraf pps_sent Send packets per second pps
313 vm_netio Guest network traffic guest telegraf bytes_sent The total number of bytes sent by the network interface byte
314 vm_netio Guest network traffic guest telegraf bytes_sent bytes_recv The total number of bytes sent by the network interface The total number of bytes received by the network interface byte
315 vm_netio Guest network traffic guest telegraf bytes_recv packets_sent The total number of bytes received by the network interface The total number of packets sent by the network interface byte count
316 vm_netio Guest network traffic guest telegraf packets_sent packets_recv The total number of packets sent by the network interface The total number of packets received by the network interface count
317 vm_netio Guest network traffic guest telegraf packets_recv out_bandwidth_usage The total number of packets received by the network interface Outbound bandwidth utilization count %
318 pod_netio Pod network traffic container telegraf bps_recv Received traffic per second bps
319 pod_netio Pod network traffic container telegraf bps_recv bps_sent Received traffic per second Send traffic per second bps
320 pod_netio Pod network traffic container telegraf bps_sent pps_recv Send traffic per second Received packets per second bps pps
321 pod_netio Pod network traffic container telegraf pps_recv pps_sent Received packets per second Send packets per second pps
@@ -164,5 +164,10 @@ var vmNetio = SMeasurement{
DisplayName: "The total number of packets received by the network interface",
Unit: monitor.METRIC_UNIT_COUNT,
},
{
Name: "out_bandwidth_usage",
DisplayName: "Outbound bandwidth utilization",
Unit: monitor.METRIC_UNIT_PERCENT,
},
},
}