scrape

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2019 License: GPL-3.0 Imports: 9 Imported by: 1

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL