mirror of
https://github.com/prometheus/prometheus
synced 2024-12-25 07:52:28 +00:00
Fix .Log() error message (#5257)
Signed-off-by: zhoulin xie <zhoulin.xie@daocloud.io>
This commit is contained in:
parent
e4a741cb7d
commit
362873f72b
@ -457,7 +457,7 @@ func (t *QueueManager) calculateDesiredShards() {
|
||||
timePerSample = samplesOutDuration / samplesOut
|
||||
desiredShards = (timePerSample * (samplesIn + samplesPending + t.integralAccumulator)) / float64(time.Second)
|
||||
)
|
||||
level.Debug(t.logger).Log("msg", "QueueManager.caclulateDesiredShards",
|
||||
level.Debug(t.logger).Log("msg", "QueueManager.calculateDesiredShards",
|
||||
"samplesIn", samplesIn, "samplesOut", samplesOut,
|
||||
"samplesPending", samplesPending, "desiredShards", desiredShards)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user