Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector interface { Refresher Metrics(*Prometheus) []prometheus.Collector }
Collector represents the methods for collecting metrics
type Prometheus ¶
type Prometheus struct { *Config Logger log.Logger Labels map[string]string // contains filtered or unexported fields }
func New ¶
func New(config Config) *Prometheus
func (*Prometheus) Initialize ¶
func (p *Prometheus) Initialize() error
Click to show internal directories.
Click to hide internal directories.