mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 00:53:12 +00:00
dfad1da296
Right now any new metrics added for remote write need to be added to both the QueueManager struct, and the queueManagerMetrics struct. Instead, use the queueManagerMetrics struct directly from QueueManager. The newQueueManagerMetrics constructor will now create the metrics for a specific queue with name and endpoint pre-populated, and a new copy of the struct will be created specifically for each queue. This also fixes a bug where prometheus_remote_storage_sent_bytes_total is not being unregistered after a queue is changed. Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com> |
||
---|---|---|
.. | ||
fanout | ||
remote | ||
buffer_test.go | ||
buffer.go | ||
fanout_test.go | ||
fanout.go | ||
generic.go | ||
interface.go | ||
noop.go | ||
series_test.go | ||
series.go |