# Functions
Avg the values within the window.
Count sums the count value within the window.
Max the values within the window.
Min the values within the window.
NewBusinessMetricCount business Metric count vec.
NewBusinessMetricGauge business Metric gauge vec.
NewBusinessMetricHistogram business Metric histogram vec.
NewCounter creates a new Counter based on the CounterOpts.
NewCounterVec .
NewGauge creates a new Gauge based on the GaugeOpts.
NewGaugeVec .
NewHistogramVec new a histogram vec.
NewPointGauge creates a new PointGauge based on PointGaugeOpts.
NewPointPolicy creates a new PointPolicy.
NewRollingCounter creates a new RollingCounter bases on RollingCounterOpts.
NewRollingGauge creates a new RollingGauge baseed on RollingGaugeOpts.
NewRollingPolicy creates a new RollingPolicy based on the given window and RollingPolicyOpts.
NewWindow creates a new Window based on WindowOpts.
Sum the values within the window.
# Structs
Bucket contains multiple float64 points.
HistogramVecOpts is histogram vector opts.
Iterator iterates the buckets within the window.
Opts contains the common arguments for creating Metric.
PointGaugeOpts contains the arguments for creating PointGauge.
PointPolicy is a policy of points within the window.
RollingCounterOpts contains the arguments for creating RollingCounter.
RollingGaugeOpts contains the arguments for creating RollingGauge.
RollingPolicy is a policy for ring window based on time duration.
RollingPolicyOpts contains the arguments for creating RollingPolicy.
VectorOpts contains the common arguments for creating vec Metric..
Window contains multiple buckets.
WindowOpts contains the arguments for creating Window.
# Interfaces
Aggregation contains some common aggregation function.
Counter stores a numerical value that only ever goes up.
CounterVec counter vec.
Gauge stores a numerical value that can be add arbitrarily.
GaugeVec gauge vec.
HistogramVec gauge vec.
Metric is a sample interface.
PointGauge represents a ring window.
RollingCounter represents a ring window based on time duration.
RollingGauge represents a ring window based on time duration.
# Type aliases
CounterOpts is an alias of Opts.
CounterVecOpts is an alias of VectorOpts.
GaugeOpts is an alias of Opts.
GaugeVecOpts is an alias of VectorOpts.