mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-14 15:27:47 -08:00
Merge pull request #2902 from mattbostock/patch-2
Remote queue manager: Fix typo
This commit is contained in:
commit
3ed4fea58c
|
@ -303,7 +303,7 @@ func (t *QueueManager) calculateDesiredShards() {
|
||||||
|
|
||||||
// We use the number of incoming samples as a prediction of how much work we
|
// We use the number of incoming samples as a prediction of how much work we
|
||||||
// will need to do next iteration. We add to this any pending samples
|
// will need to do next iteration. We add to this any pending samples
|
||||||
// (received - send) so we can catch up with any backlog. We use the average
|
// (received - sent) so we can catch up with any backlog. We use the average
|
||||||
// outgoing batch latency to work out how many shards we need.
|
// outgoing batch latency to work out how many shards we need.
|
||||||
var (
|
var (
|
||||||
samplesIn = t.samplesIn.rate()
|
samplesIn = t.samplesIn.rate()
|
||||||
|
|
Loading…
Reference in a new issue