mirror of
https://github.com/prometheus/prometheus.git
synced 2025-08-24 08:01:00 +02:00
[CHORE] filtering out samples before the startup time retention
Signed-off-by: Nicolas Takashi <nicolas.tcs@hotmail.com>
This commit is contained in:
parent
a4391580e3
commit
6fc9c8291a
@ -8256,6 +8256,7 @@ func testNoGapAfterRestartWithOOO(t *testing.T, scenario sampleTypeScenario) {
|
|||||||
opts := DefaultOptions()
|
opts := DefaultOptions()
|
||||||
opts.OutOfOrderTimeWindow = 30 * time.Minute.Milliseconds()
|
opts.OutOfOrderTimeWindow = 30 * time.Minute.Milliseconds()
|
||||||
opts.EnableNativeHistograms = true
|
opts.EnableNativeHistograms = true
|
||||||
|
opts.StartupMinRetentionTime = 0
|
||||||
|
|
||||||
db, err := Open(dir, nil, nil, opts, nil)
|
db, err := Open(dir, nil, nil, opts, nil)
|
||||||
require.NoError(t, err)
|
require.NoError(t, err)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user