Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerCollector ¶ added in v1.90.2
type ConsumerCollector struct {
// contains filtered or unexported fields
}
ConsumerCollector for prometheus.
func NewConsumerCollector ¶ added in v1.90.2
func NewConsumerCollector(lc fx.Lifecycle, version version.Version) *ConsumerCollector
NewConsumerCollector for prometheus.
func (*ConsumerCollector) Collect ¶ added in v1.90.2
func (m *ConsumerCollector) Collect(ch chan<- prometheus.Metric)
Collect is called by the Prometheus registry when collecting metrics. The implementation sends each collected metric via the provided channel and returns once the last metric has been sent.
func (*ConsumerCollector) Describe ¶ added in v1.90.2
func (m *ConsumerCollector) Describe(ch chan<- *prometheus.Desc)
Describe sends the super-set of all possible descriptors of metrics collected by this Collector to the provided channel and returns once the last descriptor has been sent.
type ProducerCollector ¶ added in v1.90.2
type ProducerCollector struct {
// contains filtered or unexported fields
}
ProducerCollector for prometheus.
func NewProducerCollector ¶ added in v1.90.2
func NewProducerCollector(lc fx.Lifecycle, version version.Version) *ProducerCollector
NewProducerCollector for prometheus.
func (*ProducerCollector) Collect ¶ added in v1.90.2
func (m *ProducerCollector) Collect(ch chan<- prometheus.Metric)
Collect is called by the Prometheus registry when collecting metrics. The implementation sends each collected metric via the provided channel and returns once the last metric has been sent.
func (*ProducerCollector) Describe ¶ added in v1.90.2
func (m *ProducerCollector) Describe(ch chan<- *prometheus.Desc)
Describe sends the super-set of all possible descriptors of metrics collected by this Collector to the provided channel and returns once the last descriptor has been sent.