prometheus

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConcurrentCollector

func NewConcurrentCollector() *concurrentCollector

Types

type Collector

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

func SetupCollector

func SetupCollector(virtShareDir string) *Collector

func (*Collector) Collect

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

Note that Collect could be called concurrently

func (*Collector) Describe

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

Jump to

Keyboard shortcuts

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