@@ -41,7 +41,7 @@ type collectorTransportQueues struct {
41
41
messagesSubmittedTotal * prometheus.Desc
42
42
messagesDelayedTotal * prometheus.Desc
43
43
messagesCompletedDeliveryTotal * prometheus.Desc
44
- shadowQueueLength * prometheus.Desc
44
+ aggregateShadowQueueLength * prometheus.Desc
45
45
submissionQueueLength * prometheus.Desc
46
46
delayQueueLength * prometheus.Desc
47
47
itemsCompletedDeliveryTotal * prometheus.Desc
@@ -65,7 +65,7 @@ type perfDataCounterValuesTransportQueues struct {
65
65
MessagesSubmittedTotal float64 `perfdata:"Messages Submitted Total"`
66
66
MessagesDelayedTotal float64 `perfdata:"Messages Delayed Total"`
67
67
MessagesCompletedDeliveryTotal float64 `perfdata:"Messages Completed Delivery Total"`
68
- ShadowQueueLength float64 `perfdata:"Shadow Queue Length"`
68
+ AggregateShadowQueueLength float64 `perfdata:"Aggregate Shadow Queue Length"`
69
69
SubmissionQueueLength float64 `perfdata:"Submission Queue Length"`
70
70
DelayQueueLength float64 `perfdata:"Delay Queue Length"`
71
71
ItemsCompletedDeliveryTotal float64 `perfdata:"Items Completed Delivery Total"`
@@ -154,9 +154,9 @@ func (c *Collector) buildTransportQueues() error {
154
154
[]string {"name" },
155
155
nil ,
156
156
)
157
- c .shadowQueueLength = prometheus .NewDesc (
158
- prometheus .BuildFQName (types .Namespace , Name , "transport_queues_shadow_queue_length " ),
159
- "Shadow Queue Length " ,
157
+ c .aggregateShadowQueueLength = prometheus .NewDesc (
158
+ prometheus .BuildFQName (types .Namespace , Name , "transport_queues_aggregate_shadow_queue_length " ),
159
+ "The current number of messages in shadow queues. " ,
160
160
[]string {"name" },
161
161
nil ,
162
162
)
@@ -282,9 +282,9 @@ func (c *Collector) collectTransportQueues(ch chan<- prometheus.Metric) error {
282
282
labelName ,
283
283
)
284
284
ch <- prometheus .MustNewConstMetric (
285
- c .shadowQueueLength ,
285
+ c .aggregateShadowQueueLength ,
286
286
prometheus .GaugeValue ,
287
- data .ShadowQueueLength ,
287
+ data .AggregateShadowQueueLength ,
288
288
labelName ,
289
289
)
290
290
ch <- prometheus .MustNewConstMetric (
0 commit comments