lib/promscrape: remove debug line left after the commit e4aac6ea40

This commit is contained in:
Aliaksandr Valialkin 2020-05-03 17:15:09 +03:00
parent 1f0e8fdc0d
commit a5880f17af

View file

@ -131,7 +131,6 @@ func (sw *scrapeWork) run(stopCh <-chan struct{}) {
h := uint32(xxhash.Sum64([]byte(key)))
randSleep := uint64(float64(scrapeInterval) * (float64(h) / (1 << 32)))
sleepOffset := uint64(time.Now().UnixNano()) % uint64(scrapeInterval)
logger.Infof("randsleep=%d, sleepOffset=%d", randSleep, sleepOffset)
if randSleep < sleepOffset {
randSleep += uint64(scrapeInterval)
}