fix: add missing vswitch packets_sent_total

Signed-off-by: ilyam8 <ilya@netdata.cloud>
This commit is contained in:
ilyam8
2023-05-04 18:59:25 +03:00
parent f19fa777c3
commit 579369dbf5

View File

@@ -1373,6 +1373,12 @@ func (c *HyperVCollector) collectVmSwitch(ch chan<- prometheus.Metric) (*prometh
float64(obj.PacketsReceivedPersec),
obj.Name,
)
ch <- prometheus.MustNewConstMetric(
c.PacketsSent,
prometheus.CounterValue,
float64(obj.PacketsSentPersec),
obj.Name,
)
ch <- prometheus.MustNewConstMetric(
c.PurgedMacAddresses,
prometheus.CounterValue,