prow

package
v0.0.0-...-109431f Latest Latest
Warning

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

Go to latest
Published: Dec 13, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MetricsData

type MetricsData struct {
	StartedAt  time.Time
	FinishedAt time.Time
	PromFile   string
}

func Metrics

func Metrics(baseURL, jobName, jobID, tarpath string) (MetricsData, error)

Metrics returns an io.ReadCloser that streams the tarball containing the Prometheus data. It is the caller responsibility to call Close on the returned MetricsData.

Jump to

Keyboard shortcuts

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