Versions in this module Expand all Collapse all v1 v1.7.2 Feb 15, 2018 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 + MaxBlockDuration model.Duration + MinBlockDuration model.Duration + NoLockfile bool + Retention model.Duration + WALFlushInterval time.Duration + 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)