package
1.0.0
Repository: https://github.com/masonchen2014/easymicro.git
Documentation: pkg.go.dev

# Functions

NewCounter wraps the CounterVec and returns a usable Counter object.
NewCounterFrom constructs and registers a Prometheus CounterVec, and returns a usable Counter object.
NewGauge wraps the GaugeVec and returns a usable Gauge object.
NewGaugeFrom construts and registers a Prometheus GaugeVec, and returns a usable Gauge object.
NewHistogram wraps the HistogramVec and returns a usable Histogram object.
NewHistogramFrom constructs and registers a Prometheus HistogramVec, and returns a usable Histogram object.
NewSummary wraps the SummaryVec and returns a usable Summary object.
NewSummaryFrom constructs and registers a Prometheus SummaryVec, and returns a usable Summary object.

# Structs

Counter implements Counter, via a Prometheus CounterVec.
Gauge implements Gauge, via a Prometheus GaugeVec.
Histogram implements Histogram via a Prometheus HistogramVec.
Summary implements Histogram, via a Prometheus SummaryVec.

# Interfaces

Counter describes a metric that accumulates values monotonically.
Gauge describes a metric that takes specific values over time.
Histogram describes a metric that takes repeated observations of the same kind of thing, and produces a statistical summary of those observations, typically expressed as quantiles or buckets.

# Type aliases

No description provided by the author