package
0.5.3
Repository: https://github.com/hashicorp/go-metrics.git
Documentation: pkg.go.dev

# Functions

NewPrometheusPushSink creates a PrometheusPushSink by taking an address, interval, and destination name.
NewPrometheusSink creates a new PrometheusSink using the default options.
NewPrometheusSinkFrom creates a new PrometheusSink using the passed options.

# Variables

DefaultPrometheusOpts is the default set of options used when creating a PrometheusSink.

# Structs

CounterDefinition can be provided to PrometheusOpts to declare a constant counter that is not deleted on expiry.
GaugeDefinition can be provided to PrometheusOpts to declare a constant gauge that is not deleted on expiry.
PrometheusOpts is used to configure the Prometheus Sink.
PrometheusPushSink wraps a normal prometheus sink and provides an address and facilities to export it to an address on an interval.
No description provided by the author
SummaryDefinition can be provided to PrometheusOpts to declare a constant summary that is not deleted on expiry.