prometheus/storage/remote
Chris Marchbanks d78656c244
Pending Samples metric includes samples in channel (#7335)
* Pending Samples metric includes samples in channel

The pending samples metric should also include samples waiting in the
channels to be sent to provide a more accurate measure. In addition,
make sure that the pending samples is reset to 0 anytime a queue is
started as we remake all of the shards at that time.

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>

* Log the number of dropped samples on hard shutdown

Signed-off-by: Chris Marchbanks <csmarchbanks@gmail.com>
2020-06-25 14:48:30 -06:00
..
chunked.go Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109) 2020-04-15 11:17:41 +01:00
chunked_test.go Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109) 2020-04-15 11:17:41 +01:00
client.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
client_test.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
codec.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
codec_test.go Fix some warnings: 'redundant type from array, slice, or map composite literal' (#7109) 2020-04-15 11:17:41 +01:00
ewma.go Merge the 2.13 release branch to master (#6117) 2019-10-09 17:41:46 +02:00
intern.go Merge the 2.13 release branch to master (#6117) 2019-10-09 17:41:46 +02:00
intern_test.go Fix order of testutil.Equals (#6695) 2020-01-27 12:21:59 +00:00
max_gauge.go resolve race condition in maxGauge (#5647) 2019-06-13 20:55:08 +01:00
queue_manager.go Pending Samples metric includes samples in channel (#7335) 2020-06-25 14:48:30 -06:00
queue_manager_test.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
read.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
read_test.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
storage.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
storage_test.go storage/remote: add tests for config changes 2020-04-13 22:32:37 +00:00
write.go storage: Adjusted fully storage layer support for chunk iterators: Remote read client, readyStorage, fanout. (#7059) 2020-06-24 14:41:52 +01:00
write_test.go Handle secret changes in remote write ApplyConfig 2020-04-13 23:14:15 +00:00