Categorygithub.com/rolandhawk/dynamicvector
modulepackage
0.0.1
Repository: https://github.com/rolandhawk/dynamicvector.git
Documentation: pkg.go.dev

# README

dynamicvector

go-doc CircleCI codecov

prometheus golang dynamic vector

# Packages

No description provided by the author

# Functions

NewCounter will return a new dynamicvector counter.
NewCounterUnit will create new counter with specified label values.
NewGauge will return a new dynamicvector gauge.
NewGaugeUnit will create new counter with specified label values.
NewHistogram will return a new dynamicvector histogram.
NewHistogramUnit will create new hitogram with specified label values.
NewLabels will create new Labels with initial constant.
NewVector will create new vector with specified option and metric constructor.

# Structs

Counter is a counter dynamicvector.
CounterUnit implement prometheus.Counter and Metric.
Gauge is a gauge dynamicvector.
GaugeUnit implement prometheus.Gauge and Metric.
GCStat is status for garbage collector.
Histogram is a histogram dynamicvector.
No description provided by the author
Labels represent structure data for Metric.
Opts is an option for creating metric vector.
Vector is a dynamicvector that used to keep metrics.

# Interfaces

Metric is an interface that encapsulate prometheus.Metric interface.

# Type aliases

CounterOpts is an alias for Opts.
GaugeOpts is an alias for Opts.
HistogramOpts is an alias for Opts.