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_test.go remote-read: streamed chunked server side; Extended protobuf; Added chunked, checksumed reader (#5703) 2019-08-19 21:16:10 +01:00
chunked.go remote-read: streamed chunked server side; Extended protobuf; Added chunked, checksumed reader (#5703) 2019-08-19 21:16:10 +01:00
client_test.go refine error handling in prometheus (#5388) 2019-03-26 00:01:12 +01:00
client.go fix the wrong word (#6069) 2019-09-30 09:54:55 -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
codec.go Pre-allocate pendingSamples to reduce allocations 2019-09-03 15:41:47 -06:00
ewma.go Merge the 2.13 release branch to master (#6117) 2019-10-09 17:41:46 +02:00
intern_test.go Review feedback. 2019-03-18 20:31:12 +00:00
intern.go Merge the 2.13 release branch to master (#6117) 2019-10-09 17:41:46 +02:00
max_gauge.go resolve race condition in maxGauge (#5647) 2019-06-13 20:55:08 +01: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
queue_manager.go Refactor calculateDesiredShards + don't reshard if we're having issues sending samples. (#6111) 2019-10-21 15:54:25 -06:00
read_test.go Pre-allocate pendingSamples to reduce allocations 2019-09-03 15:41:47 -06:00
read.go Show warnings in UI if query have returned some warnings (#5964) 2019-08-28 14:25:28 +01:00
storage_test.go Split remote write storage into its own type 2019-06-27 10:11:02 +01:00
storage.go Make sure the remote write storage uses a dedupe logger. (#6113) 2019-10-08 11:42:00 -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
write.go fix the wrong word (#6069) 2019-09-30 09:54:55 -06:00