fix linting (#514)

Signed-off-by: Goutham Veeramachaneni <gouthamve@gmail.com>
pull/516/head
Goutham Veeramachaneni 6 years ago committed by Cyril Tovena
parent e54a1b21c3
commit c1bc17e778
  1. 2
      pkg/ingester/flush.go

@ -283,7 +283,7 @@ func (i *Ingester) flushChunks(ctx context.Context, fp model.Fingerprint, labelP
sizePerTenant.Add(float64(len(byt)))
countPerTenant.Inc()
firstTime, _ := cs[i].chunk.Bounds()
chunkAge.Observe(time.Now().Sub(firstTime).Seconds())
chunkAge.Observe(time.Since(firstTime).Seconds())
}
return nil

Loading…
Cancel
Save