telemetry

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prometheus

type Prometheus struct {
	Registry *prometheus.Registry
	Options  *PrometheusOptions
}

func (*Prometheus) PushMetrics

func (p *Prometheus) PushMetrics(waitGroup *sync.WaitGroup, exit chan bool)

PushMetrics will push metrics from the registry at Frequency

type PrometheusOptions

type PrometheusOptions struct {
	Frequency time.Duration
	Server    string
}

PrometheusOptions holds the options for performing prometheus operations

Jump to

Keyboard shortcuts

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