metricsmon

package
v0.0.0-...-c641a3c Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCounter

func NewCounter(name string, help string, labelsForPartitioningMetrics []string) metrics.Counter

NewCounter ... new prometheus counter

func NewGauge

func NewGauge(name string, help string, labelsForPartitioningMetrics []string) metrics.Gauge

NewGauge ... new prometheus gauge

func NewStatsdClient

func NewStatsdClient(prefix string) *statsd.Statsd

NewStatsdClient ...

func NewSummary

func NewSummary(name string, help string, labelsForPartitioningMetrics []string) metrics.Histogram

NewSummary ... new prometheus gauge

func StartMetricsPusher

func StartMetricsPusher(label string, interval time.Duration, url string) chan struct{}

StartMetricsPusher ...

func StartStatsdMetricsPusher

func StartStatsdMetricsPusher(statsd *statsd.Statsd, pushInterval time.Duration)

StartStatsdMetricsPusher ... pushes metrics out to statsd server every 30s

Types

This section is empty.

Jump to

Keyboard shortcuts

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