Versions in this module Expand all Collapse all v2 v2.13.1 Oct 8, 2023 Changes in this version + var ErrNotReady = errors.New("TSDB not ready") + func Adapter(db *tsdb.DB, startTimeMargin int64) storage.Storage + func Open(path string, l log.Logger, r prometheus.Registerer, opts *Options) (*tsdb.DB, error) + type Options struct + AllowOverlappingBlocks bool + MaxBlockDuration model.Duration + MaxBytes units.Base2Bytes + MinBlockDuration model.Duration + NoLockfile bool + RetentionDuration model.Duration + WALCompression bool + WALSegmentSize units.Base2Bytes + type ReadyStorage struct + func (s *ReadyStorage) Appender() (storage.Appender, error) + func (s *ReadyStorage) Close() error + func (s *ReadyStorage) Get() *tsdb.DB + func (s *ReadyStorage) Querier(ctx context.Context, mint, maxt int64) (storage.Querier, error) + func (s *ReadyStorage) Set(db *tsdb.DB, startTimeMargin int64) + func (s *ReadyStorage) StartTime() (int64, error) Other modules containing this package github.com/zpascal/prometheus