mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
error resolve
Signed-off-by: Vanshikav123 <vanshikav928@gmail.com>
This commit is contained in:
parent
3e036a2069
commit
954009132c
|
@ -51,7 +51,7 @@ func NewWithError() (*TestStorage, error) {
|
|||
opts.MaxBlockDuration = int64(24 * time.Hour / time.Millisecond)
|
||||
opts.RetentionDuration = 0
|
||||
opts.EnableNativeHistograms = true
|
||||
opts.OutOfOrderTimeWindow = 600000
|
||||
// opts.OutOfOrderTimeWindow = 600000
|
||||
db, err := tsdb.Open(dir, nil, nil, opts, tsdb.NewDBStats())
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("opening test storage: %w", err)
|
||||
|
|
Loading…
Reference in a new issue