pallytest

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertPrometheus

func AssertPrometheus(t testing.TB, registry http.Handler, expected string)

AssertPrometheus asserts that the registry's scrape endpoint successfully serves the supplied plain-text Prometheus metrics.

func Scrape

func Scrape(t testing.TB, registry http.Handler) (int, string)

Scrape collects and returns the plain-text content of the registry's scrape endpoint, along with the response code.

Types

This section is empty.

Jump to

Keyboard shortcuts

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