Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collector ¶
type Collector struct {
// contains filtered or unexported fields
}
Collector manages all Kafka configuration metrics
func NewCollector ¶
func NewCollector() *Collector
NewCollector creates and initializes a new Collector
func (*Collector) Collect ¶
func (c *Collector) Collect(ch chan<- prometheus.Metric)
Collect implements prometheus.Collector
func (*Collector) Describe ¶
func (c *Collector) Describe(ch chan<- *prometheus.Desc)
Describe implements prometheus.Collector
func (*Collector) GetMetricByKey ¶
GetMetricByKey returns the metric name for a given Kafka config key
type MetricDefinition ¶
MetricDefinition represents a single metric configuration
Click to show internal directories.
Click to hide internal directories.