collector

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

type Collector struct {
	// contains filtered or unexported fields
}

Collector definition

func NewCollector

func NewCollector(storage *storage.Storage) *Collector

NewCollector definition

func (*Collector) Collect

func (collector *Collector) Collect(ch chan<- prometheus.Metric)

Collect gets prometheus metrics collection

func (*Collector) Describe

func (collector *Collector) Describe(ch chan<- *prometheus.Desc)

Describe gets prometheus metrics description

Jump to

Keyboard shortcuts

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