metrics

package
v0.0.0-...-26a410f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2024 License: MIT Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL