metrics

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2019 License: Apache-2.0 Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// CurrentTests keeps track of how many tests are currently executing (and what type they are)
	CurrentTests = promauto.NewGaugeVec(
		prometheus.GaugeOpts{
			Name: "ndt_control_current",
			Help: "A gauge of requests currently being served by the NDT control handler.",
		},
		[]string{"type"})
	// TestDuration tracks, for each test type and success code, how long each test took.
	TestDuration = promauto.NewHistogramVec(
		prometheus.HistogramOpts{
			Name: "ndt_control_duration_seconds",
			Help: "A histogram of request latencies to the control channel.",

			Buckets: []float64{.1, 1, 10, 10.5, 11, 11.5, 12, 20, 21, 22, 30, 60},
		},
		[]string{"type", "code"},
	)
)

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