mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
Add comment linking to PR
Signed-off-by: Justin Lei <justin.lei@grafana.com>
This commit is contained in:
parent
79db04eb12
commit
c770ba8047
|
@ -1324,6 +1324,7 @@ func (s *memSeries) appendFloatHistogram(t int64, fh *histogram.FloatHistogram,
|
||||||
func (s *memSeries) appendPreprocessor(
|
func (s *memSeries) appendPreprocessor(
|
||||||
t int64, e chunkenc.Encoding, chunkDiskMapper *chunks.ChunkDiskMapper, chunkRange int64,
|
t int64, e chunkenc.Encoding, chunkDiskMapper *chunks.ChunkDiskMapper, chunkRange int64,
|
||||||
) (c *memChunk, sampleInOrder, chunkCreated bool) {
|
) (c *memChunk, sampleInOrder, chunkCreated bool) {
|
||||||
|
// The basis for this number can be found here: https://github.com/prometheus/prometheus/pull/12055
|
||||||
const samplesPerChunk = 220
|
const samplesPerChunk = 220
|
||||||
|
|
||||||
c = s.head()
|
c = s.head()
|
||||||
|
|
Loading…
Reference in a new issue