mirror of
https://github.com/prometheus/prometheus
synced 2024-12-27 00:53:12 +00:00
cleanup: correct func name in log message (#5852)
Signed-off-by: Guangming Wang <guangming.wang@daocloud.io>
This commit is contained in:
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…
Reference in New Issue
Block a user