Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Prometheus ¶
func Prometheus(opts ...Option) goreq.HandlerFunc
Types ¶
type Option ¶
type Option func(*Options)
func Gatherer ¶
func Gatherer(gatherer prometheus.Gatherer) Option
func Objectives ¶
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 }
Click to show internal directories.
Click to hide internal directories.