mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 05:34:05 -08:00
Reserve only ~1M FPs for the mapping.
That reduces the chance of having a fingerprint in the reserved area.
This commit is contained in:
parent
ac75dc2812
commit
7c6466d476
|
@ -12,7 +12,7 @@ import (
|
|||
clientmodel "github.com/prometheus/client_golang/model"
|
||||
)
|
||||
|
||||
const maxMappedFP = 1 << 30 // About 1B fingerprints reserved for mapping.
|
||||
const maxMappedFP = 1 << 20 // About 1M fingerprints reserved for mapping.
|
||||
|
||||
var separatorString = string([]byte{clientmodel.SeparatorByte})
|
||||
|
||||
|
|
Loading…
Reference in a new issue