mirror of https://github.com/prometheus/prometheus
5f1be2cf45
* 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> |
||
---|---|---|
.. | ||
chunked.go | ||
chunked_test.go | ||
client.go | ||
client_test.go | ||
codec.go | ||
codec_test.go | ||
ewma.go | ||
intern.go | ||
intern_test.go | ||
max_gauge.go | ||
queue_manager.go | ||
queue_manager_test.go | ||
read.go | ||
read_test.go | ||
storage.go | ||
storage_test.go | ||
write.go | ||
write_test.go |