cleanup: correct func name in log message (#5852)

Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
pull/5854/head
ethan 5 years ago committed by Brian Brazil
parent 3638e4ab18
commit 38ccf0157e

@ -460,7 +460,7 @@ func (t *QueueManager) calculateDesiredShards() {
timePerSample = samplesOutDuration / samplesOut timePerSample = samplesOutDuration / samplesOut
desiredShards = (timePerSample * samplesPending) / float64(time.Second) desiredShards = (timePerSample * samplesPending) / float64(time.Second)
) )
level.Debug(t.logger).Log("msg", "QueueManager.caclulateDesiredShards", level.Debug(t.logger).Log("msg", "QueueManager.calculateDesiredShards",
"samplesIn", samplesIn, "samplesIn", samplesIn,
"samplesOut", samplesOut, "samplesOut", samplesOut,
"samplesKeptRatio", samplesKeptRatio, "samplesKeptRatio", samplesKeptRatio,

Loading…
Cancel
Save