scrape

package
v0.0.0-...-6ade924 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

type Scraper

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

func New

func New(client Client) *Scraper

func (Scraper) ScrapeHosts

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

func (Scraper) ScrapeVMs

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