Documentation
¶
Index ¶
- func NewTSDBSeriesIter(ctx context.Context, user string, f sharding.ForSeries, ...) (v1.Iterator[*v1.Series], error)
- type BloomTSDBStore
- func (b *BloomTSDBStore) LoadTSDB(ctx context.Context, table config.DayTable, tenant string, id tsdb.Identifier, ...) (v1.Iterator[*v1.Series], error)
- func (b *BloomTSDBStore) ResolveTSDBs(ctx context.Context, table config.DayTable, tenant string) ([]tsdb.SingleTenantTSDBIdentifier, error)
- func (b *BloomTSDBStore) UsersForPeriod(ctx context.Context, table config.DayTable) ([]string, error)
- type TSDBStore
- type TSDBStores
- func (s *TSDBStores) LoadTSDB(ctx context.Context, table config.DayTable, tenant string, id tsdb.Identifier, ...) (v1.Iterator[*v1.Series], error)
- func (s *TSDBStores) ResolveTSDBs(ctx context.Context, table config.DayTable, tenant string) ([]tsdb.SingleTenantTSDBIdentifier, error)
- func (s *TSDBStores) UsersForPeriod(ctx context.Context, table config.DayTable) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BloomTSDBStore ¶
type BloomTSDBStore struct {
// contains filtered or unexported fields
}
BloomTSDBStore is a wrapper around the storage.Client interface which implements the TSDBStore interface for this pkg.
func NewBloomTSDBStore ¶
func NewBloomTSDBStore(storage storage.Client, logger log.Logger) *BloomTSDBStore
func (*BloomTSDBStore) LoadTSDB ¶
func (b *BloomTSDBStore) LoadTSDB( ctx context.Context, table config.DayTable, tenant string, id tsdb.Identifier, bounds v1.FingerprintBounds, ) (v1.Iterator[*v1.Series], error)
func (*BloomTSDBStore) ResolveTSDBs ¶
func (b *BloomTSDBStore) ResolveTSDBs(ctx context.Context, table config.DayTable, tenant string) ([]tsdb.SingleTenantTSDBIdentifier, error)
func (*BloomTSDBStore) UsersForPeriod ¶
type TSDBStore ¶
type TSDBStore interface { UsersForPeriod(ctx context.Context, table config.DayTable) ([]string, error) ResolveTSDBs(ctx context.Context, table config.DayTable, tenant string) ([]tsdb.SingleTenantTSDBIdentifier, error) LoadTSDB( ctx context.Context, table config.DayTable, tenant string, id tsdb.Identifier, bounds v1.FingerprintBounds, ) (v1.Iterator[*v1.Series], error) }
type TSDBStores ¶
type TSDBStores struct {
// contains filtered or unexported fields
}
func NewTSDBStores ¶
func NewTSDBStores( schemaCfg config.SchemaConfig, storeCfg baseStore.Config, clientMetrics baseStore.ClientMetrics, logger log.Logger, ) (*TSDBStores, error)
func (*TSDBStores) LoadTSDB ¶
func (s *TSDBStores) LoadTSDB( ctx context.Context, table config.DayTable, tenant string, id tsdb.Identifier, bounds v1.FingerprintBounds, ) (v1.Iterator[*v1.Series], error)
func (*TSDBStores) ResolveTSDBs ¶
func (s *TSDBStores) ResolveTSDBs(ctx context.Context, table config.DayTable, tenant string) ([]tsdb.SingleTenantTSDBIdentifier, error)
func (*TSDBStores) UsersForPeriod ¶
Click to show internal directories.
Click to hide internal directories.