slos

package
v0.0.0-...-0f57273 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2020 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gatherer

type Gatherer interface {
	Gather(executor QueryExecutor, startTime time.Time, config *measurement.MeasurementConfig) ([]measurement.Summary, error)
	IsEnabled(config *measurement.MeasurementConfig) bool
	String() string
}

Gatherer is an interface for measurements based on Prometheus metrics. Those measurments don't require any preparation. It's assumed Prometheus is up, running and instructed to scrape required metrics in the test cluster (please see clusterloader2/pkg/prometheus/manifests).

type QueryExecutor

type QueryExecutor interface {
	Query(query string, queryTime time.Time) ([]*model.Sample, error)
}

QueryExecutor is an interface for queryning Prometheus server.

Jump to

Keyboard shortcuts

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