Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HandlerProcessingHistogram = prometheus.NewHistogramVec(prometheus.HistogramOpts{ Namespace: "worker", Name: "handler_processing", Help: "handler processing time", }, []string{"pipe", "source", "success"})
View Source
var PipeProcessingMessagesHistogram = prometheus.NewHistogramVec(prometheus.HistogramOpts{ Namespace: "worker", Name: "pipe_processing", Help: "Pipe processing messages", }, []string{"pipe", "source", "success"})
View Source
var WorkerBatchSizeGauge = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Namespace: "worker", Subsystem: "concurrent", Name: "size", Help: "concurrent message handling", }, []string{"source"})
View Source
var WorkerMaxConcurrencyGauge = prometheus.NewGaugeVec(prometheus.GaugeOpts{ Namespace: "worker", Subsystem: "concurrent", Name: "max", Help: "max concurrent messages", }, []string{"source"})
Functions ¶
func StartTimer ¶
func StartTimer(h *prometheus.HistogramVec) func(...string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.