scrape

package
v0.36.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 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 Client added in v0.17.0

type Client interface {
	Version() string
	PerformanceMetrics([]types.PerfQuerySpec) ([]performance.EntityMetric, error)
}

type Scraper added in v0.17.0

type Scraper struct {
	*logger.Logger
	Client
	// contains filtered or unexported fields
}

func New added in v0.17.0

func New(client Client) *Scraper

func (Scraper) ScrapeHosts added in v0.17.0

func (c Scraper) ScrapeHosts(hosts rs.Hosts) []performance.EntityMetric

func (Scraper) ScrapeVMs added in v0.17.0

func (c Scraper) ScrapeVMs(vms rs.VMs) []performance.EntityMetric

Jump to

Keyboard shortcuts

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