prometheus

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

README

UTs (Unit Tests)

The Makefile at root of the repository starts a local prometheus instances using docker that's being used for the unit test for this package. So if you just run make test, everything is taken care of.

If you want to just run the UTs for this package, make sure you start a prometheus server as below

docker run -d --name autopilot-prometheus-test -p 9090:9090 prom/prometheus:v2.11.1

And then run

go test -v -tags unittest

Documentation

Index

Constants

View Source
const (

	// Name of the provider
	Name = "prometheus"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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