Documentation
¶
Index ¶
Constants ¶
View Source
const SlugSeparator = "$" // SlugSeparator is excluded by topicRegex.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type KafkaStatCollector ¶
type ReaderCollector ¶
type ReaderCollector struct {
Client KafkaStatCollector
}
ReaderCollector implements prometheus' Collector interface, for kafka reader.
func (*ReaderCollector) Collect ¶
func (r *ReaderCollector) Collect(metrics chan<- prometheus.Metric)
func (*ReaderCollector) Describe ¶
func (r *ReaderCollector) Describe(c chan<- *prometheus.Desc)
type WriterCollector ¶
type WriterCollector struct {
Client KafkaStatCollector
}
WriterCollector implements prometheus' Collector interface, for kafka writer.
func (*WriterCollector) Collect ¶
func (w *WriterCollector) Collect(metrics chan<- prometheus.Metric)
func (*WriterCollector) Describe ¶
func (w *WriterCollector) Describe(c chan<- *prometheus.Desc)
Click to show internal directories.
Click to hide internal directories.