mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-14 17:44:06 -08:00
Remove comments
This commit is contained in:
parent
7aef6e28fe
commit
d2ac103ba9
|
@ -496,8 +496,8 @@ func (h *Head) resetSeriesWithMMappedChunks(mSeries *memSeries, mmc, oooMmc []*m
|
||||||
}
|
}
|
||||||
|
|
||||||
h.metrics.chunksCreated.Add(float64(len(mmc) + len(oooMmc)))
|
h.metrics.chunksCreated.Add(float64(len(mmc) + len(oooMmc)))
|
||||||
h.metrics.chunksRemoved.Add(float64(len(mSeries.mmappedChunks))) /// + len(mSeries.ooo.oooMmappedChunks)))
|
h.metrics.chunksRemoved.Add(float64(len(mSeries.mmappedChunks)))
|
||||||
h.metrics.chunks.Add(float64(len(mmc) + len(oooMmc) - len(mSeries.mmappedChunks))) /// - len(mSeries.ooo.oooMmappedChunks)))
|
h.metrics.chunks.Add(float64(len(mmc) + len(oooMmc) - len(mSeries.mmappedChunks)))
|
||||||
mSeries.mmappedChunks = mmc
|
mSeries.mmappedChunks = mmc
|
||||||
mSeries.ooo = nil
|
mSeries.ooo = nil
|
||||||
if len(oooMmc) == 0 {
|
if len(oooMmc) == 0 {
|
||||||
|
|
Loading…
Reference in a new issue