# Functions
Counter creates a counter metric with default provider.
CounterVec creates a counter vector metric with default provider.
Gauge creates a gauge metric with default provider.
GaugeVec creates a gauge vector metric with default provider.
Histogram creates a histogram metric with default provider.
HistogramVec creates a histogram vector metric with default provider.
HistogramVecWithBuckets creates a histogram vector metric with default provider.
HistogramWithBuckets creates a histogram metric with default provider.
No description provided by the author
NewDBMetrics returns new DB metrics.
NewPostgreDBMetrics returns new PostgreDBMetrics.
NewPrometheusProvider creates a new Prometheus provider that implements Provider using Prometheus metrics.
NewWebService returns new metrics web service builder.
PrometheusHandler creates a new http.Handler that exposes Prometheus metrics over HTTP.
No description provided by the author
ServePrometheus exposes Prometheus over HTTP on the given address and metrics endpoint.
SetProvider allow setting/replacing the default (Prometheus) metrics provider with a new one.
Summary creates a summary metric with default provider.
SummaryVec creates a summary vector metric with default provider.
# Variables
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
PrometheusProvider represents the implementation for Prometheus provider.
PrometheusProviderOpts represents the Prometheus metrics configuration options.
# Interfaces
CounterMetric represents a counter metric.
CounterVecMetric represents a vector counter metric containing a variation of the same metric under different labels.
GaugeMetric represents a single numerical value that can go up and down.
GaugeVecMetric represents a vector gauge metric containing a variation of the same metric under different labels.
ObserverMetric represents a Histogram / Summary metric.
ObserverVecMetric represents a vector observer(histogram/summary) metric containing a variation of the same metric under different labels.
Provider represents a metric provider, i.e: Prometheus.