Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NatsConsumingCount = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "nats_consuming_count", Help: "count of nats events whose consumption is in progress", }, []string{"topic"})
View Source
var NatsConsumptionCount = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "nats_consumption_count", Help: "count of consumed events on nats ", }, []string{"topic"})
View Source
var NatsEventConsumptionTime = promauto.NewHistogramVec(prometheus.HistogramOpts{ Name: "nats_event_consumption_time", }, []string{"topic"})
View Source
var NatsEventPublishTime = promauto.NewHistogramVec(prometheus.HistogramOpts{ Name: "nats_event_publish_time", }, []string{"topic"})
View Source
var NatsPublishingCount = promauto.NewCounterVec(prometheus.CounterOpts{ Name: "nats_publish_count", Help: "count of successfully published events on nats", }, []string{"topic", "status"})
Functions ¶
func IncConsumingCount ¶
func IncConsumingCount(topic string)
func IncConsumptionCount ¶
func IncConsumptionCount(topic string)
func IncPublishCount ¶
func IncPublishCount(topic, status string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.