Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerMetrics ¶
type ConsumerMetrics struct {
// contains filtered or unexported fields
}
ConsumerMetrics for prometheus.
func NewConsumerMetrics ¶
func NewConsumerMetrics(lc fx.Lifecycle, version version.Version) *ConsumerMetrics
NewConsumerMetrics for prometheus.
func (*ConsumerMetrics) Collect ¶
func (m *ConsumerMetrics) 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 (*ConsumerMetrics) Describe ¶
func (m *ConsumerMetrics) 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 ProducerMetrics ¶
type ProducerMetrics struct {
// contains filtered or unexported fields
}
ProducerMetrics for prometheus.
func NewProducerMetrics ¶
func NewProducerMetrics(lc fx.Lifecycle, version version.Version) *ProducerMetrics
NewProducerMetrics for prometheus.
func (*ProducerMetrics) Collect ¶
func (m *ProducerMetrics) 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 (*ProducerMetrics) Describe ¶
func (m *ProducerMetrics) 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.