Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectMetricsForHost ¶
func CollectMetricsForHost(ctx context.Context, path, prefix string, labelNames, labelValues []string, cc *collector.CollectorContext) error
CollectMetricsForHost collects net metrics for a specific Host
func CollectMetricsForVM ¶
func CollectMetricsForVM(ctx context.Context, path, prefix string, labelNames, labelValues []string, cc *collector.CollectorContext) error
CollectMetricsForVM collects net metrics for a specific VM
Types ¶
type HostNics ¶
type HostNics struct {
Nics []Nic `xml:"host_nic"`
}
HostNics is a collection of NICs of a host
Click to show internal directories.
Click to hide internal directories.