Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerMetrics ¶
type ConsumerMetrics struct { ReceiveLatency prometheus.Histogram ProcessingDuration prometheus.Histogram }
func NewConsumerMetrics ¶
func NewConsumerMetrics(exchange, queue, topic string) *ConsumerMetrics
type ProducerMetrics ¶
type ProducerMetrics struct {
Total prometheus.Counter
}
func NewProducerMetrics ¶
func NewProducerMetrics(topic string) *ProducerMetrics
Click to show internal directories.
Click to hide internal directories.