rabbitmq_metrics

package
v1.39.2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsumerStorage

type ConsumerStorage struct {
	// contains filtered or unexported fields
}

func NewConsumerStorage

func NewConsumerStorage(reg *metrics.Registry) *ConsumerStorage

func (*ConsumerStorage) IncDlqCount

func (c *ConsumerStorage) IncDlqCount(exchange string, routingKey string)

func (*ConsumerStorage) IncRequeueCount

func (c *ConsumerStorage) IncRequeueCount(exchange string, routingKey string)

func (*ConsumerStorage) IncRetryCount

func (c *ConsumerStorage) IncRetryCount(exchange string, routingKey string)

func (*ConsumerStorage) IncSuccessCount

func (c *ConsumerStorage) IncSuccessCount(exchange string, routingKey string)

func (*ConsumerStorage) ObserveConsumeDuration

func (c *ConsumerStorage) ObserveConsumeDuration(exchange string, routingKey string, duration time.Duration)

func (*ConsumerStorage) ObserveConsumeMsgSize

func (c *ConsumerStorage) ObserveConsumeMsgSize(exchange string, routingKey string, size int)

type PublisherStorage

type PublisherStorage struct {
	// contains filtered or unexported fields
}

func NewPublisherStorage

func NewPublisherStorage(reg *metrics.Registry) *PublisherStorage

func (*PublisherStorage) IncPublishError

func (c *PublisherStorage) IncPublishError(exchange string, routingKey string)

func (*PublisherStorage) ObservePublishDuration

func (c *PublisherStorage) ObservePublishDuration(exchange string, routingKey string, duration time.Duration)

func (*PublisherStorage) ObservePublishMsgSize

func (c *PublisherStorage) ObservePublishMsgSize(exchange string, routingKey string, size int)

Jump to

Keyboard shortcuts

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