diff --git a/collector/hyperv.go b/collector/hyperv.go index da749123..f75703cb 100644 --- a/collector/hyperv.go +++ b/collector/hyperv.go @@ -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,