prometheus/storage/remote
Callum Styan 5f1be2cf45 Refactor calculateDesiredShards + don't reshard if we're having issues sending samples. (#6111)
* Refactor calculateDesiredShards + don't reshard if we're having issues
sending samples.
* Track lastSendTimestamp via an int64 with atomic add/load, add a test
for reshard calculation.
* Simplify conditional for skipping resharding, add samplesIn/Out to shard
testcase struct.

Signed-off-by: Callum Styan <callumstyan@gmail.com>
2019-10-21 15:54:25 -06:00
..
chunked.go remote-read: streamed chunked server side; Extended protobuf; Added chunked, checksumed reader (#5703) 2019-08-19 21:16:10 +01:00
chunked_test.go remote-read: streamed chunked server side; Extended protobuf; Added chunked, checksumed reader (#5703) 2019-08-19 21:16:10 +01:00
client.go fix the wrong word (#6069) 2019-09-30 09:54:55 -06:00
client_test.go
codec.go Pre-allocate pendingSamples to reduce allocations 2019-09-03 15:41:47 -06:00
codec_test.go Replaced test validations with testutils on storage/remote/codec_test.go (#6097) 2019-10-07 11:35:53 -06: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
max_gauge.go
queue_manager.go Refactor calculateDesiredShards + don't reshard if we're having issues sending samples. (#6111) 2019-10-21 15:54:25 -06:00
queue_manager_test.go Refactor calculateDesiredShards + don't reshard if we're having issues sending samples. (#6111) 2019-10-21 15:54:25 -06:00
read.go Show warnings in UI if query have returned some warnings (#5964) 2019-08-28 14:25:28 +01:00
read_test.go Pre-allocate pendingSamples to reduce allocations 2019-09-03 15:41:47 -06:00
storage.go Make sure the remote write storage uses a dedupe logger. (#6113) 2019-10-08 11:42:00 -06:00
storage_test.go
write.go fix the wrong word (#6069) 2019-09-30 09:54:55 -06:00
write_test.go fix TODO: only stop & recreate remote write queues which have changes (#5540) 2019-09-04 11:21:53 -06:00