Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIClient ¶
type APIClient interface { Version() string PerformanceMetrics([]types.PerfQuerySpec) ([]performance.EntityMetric, error) }
type VSphereMetricScraper ¶
type VSphereMetricScraper struct { *logger.Logger APIClient // contains filtered or unexported fields }
func NewVSphereMetricScraper ¶
func NewVSphereMetricScraper(client APIClient) *VSphereMetricScraper
func (VSphereMetricScraper) ScrapeHostsMetrics ¶
func (c VSphereMetricScraper) ScrapeHostsMetrics(hosts rs.Hosts) []performance.EntityMetric
func (VSphereMetricScraper) ScrapeVMsMetrics ¶
func (c VSphereMetricScraper) ScrapeVMsMetrics(vms rs.VMs) []performance.EntityMetric
Click to show internal directories.
Click to hide internal directories.