Documentation ¶
Index ¶
- func CollectMetrics(dataChan chan MetricData, metric *prometheus.CounterVec)
- func CollectMetricsHistogram(dataHisChan chan MetricHisData, metric *prometheus.HistogramVec)
- func NewCounter(name, help string, labelName []string) *prometheus.CounterVec
- func NewHistogram(name, help string, labelName []string, buckets []float64) *prometheus.HistogramVec
- type MetricData
- type MetricHisData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectMetrics ¶
func CollectMetrics(dataChan chan MetricData, metric *prometheus.CounterVec)
func CollectMetricsHistogram ¶
func CollectMetricsHistogram(dataHisChan chan MetricHisData, metric *prometheus.HistogramVec)
func NewCounter ¶
func NewCounter(name, help string, labelName []string) *prometheus.CounterVec
func NewHistogram ¶
func NewHistogram(name, help string, labelName []string, buckets []float64) *prometheus.HistogramVec
Types ¶
type MetricData ¶
type MetricHisData ¶
Click to show internal directories.
Click to hide internal directories.