package
0.0.0-20190617050638-84d53aaf3fbf
Repository: https://github.com/medibloc/go-medibloc.git
Documentation: pkg.go.dev
# Functions
EnableMetrics enable the metrics service.
InfluxDB starts a InfluxDB reporter which will post the metrics from the given registry at each d interval.
InfluxDBWithTags starts a InfluxDB reporter which will post the metrics from the given registry at each d interval with the specified tags.
NewCounter create a new metrics Counter.
NewGauge create a new metrics Gauge.
NewHistogramWithUniformSample create a new metrics History with Uniform Sample algorithm.
NewMeter create a new metrics Meter.
NewTimer create a new metrics Timer.
Start metrics monitor.
Stop metrics monitor.
# Constants
DefaultTimeout is the default connection timeout used to connect to an InfluxDB instance.
MetricsEnabledFlag metrics enable flag.
# Interfaces
Medlet interface breaks cycle import dependency.