Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Counter ¶
type Counter struct { Name string ValueKey string Labels []string Metric *prometheus.CounterVec }
Counter contains prometheus.CounterVec.
type Histogram ¶
type Histogram struct { Name string ValueKey string Labels []string Metric *prometheus.HistogramVec }
Histogram contains prometheus.HistogramVec.
type Store ¶
type Store struct { RecordTransformer map[string]func(string) string ValueTransformer map[string]func(float64) float64 Counter []*Counter Histogram []*Histogram }
Store is contains record and value transformer and metrics (Counter, Histogram).
Click to show internal directories.
Click to hide internal directories.