metricsmon

package
v0.1.1-rc.0...-32aea41 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2022 License: Apache-2.0, CC-BY-4.0, MIT 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