Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MetricsCollector ¶
type MetricsCollector struct {
// contains filtered or unexported fields
}
MetricsCollector has the metrics to be exposed
func (*MetricsCollector) Collect ¶
func (collector *MetricsCollector) Collect(ch chan<- prometheus.Metric)
Collect update all the descriptors is values
func (*MetricsCollector) Describe ¶
func (collector *MetricsCollector) Describe(ch chan<- *prometheus.Desc)
Describe writes all the descriptors to the prometheus desc channel.
Click to show internal directories.
Click to hide internal directories.