prometheus

package module
v0.0.0-...-d328e09 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Prometheus

func Prometheus(opts ...Option) wrapper.CallWrapper

Types

type Option

type Option func(*Options)

func Gatherer

func Gatherer(gatherer prometheus.Gatherer) Option

func NameSpace

func NameSpace(nameSpace string) Option

func Objectives

func Objectives(objectives map[float64]float64) Option

func Registerer

func Registerer(registerer prometheus.Registerer) Option

type Options

type Options struct {
	NameSpace  string
	Registerer prometheus.Registerer
	Gatherer   prometheus.Gatherer
	Objectives map[float64]float64
}

func NewOptions

func NewOptions(opts ...Option) Options

Jump to

Keyboard shortcuts

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