monitoring

package
v0.0.0-...-12def25 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DynamicFlags flagType = "dynamic"
	StaticFlags  flagType = "static"
)

Variables

This section is empty.

Functions

func MustRegisterFlagSet

func MustRegisterFlagSet(flagSetName string, flagSet *flag.FlagSet)

MustRegisterFlagSet adds relevant Prometheus collectors for the checksum of the FlagSet. If the FlagSet is already registered for colletion, this code panics.

func NewFlagSetCollector

func NewFlagSetCollector(name string, typ flagType, flagSet *flag.FlagSet) prometheus.Collector

NewFlagSetCollector returns a Prometheus collector that computes the FlagSet checksum on every scrape.

Types

This section is empty.

Jump to

Keyboard shortcuts

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