Skip to content

Commit

Permalink
fixup! Move AsyncStore into pkg/storage/stores package
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Haudum <christian.haudum@gmail.com>
  • Loading branch information
chaudum committed Sep 18, 2023
1 parent d7cad48 commit 340a623
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pkg/storage/stores/async_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,22 +228,16 @@ func (a *AsyncStore) GetChunkFetcher(tm model.Time) *fetcher.Fetcher {

// GetSeries implements stores.Store.
func (a *AsyncStore) GetSeries(ctx context.Context, userID string, from model.Time, through model.Time, matchers ...*labels.Matcher) ([]labels.Labels, error) {
// TODO(chaudum): Check if can be removed
// panic("unimplemented")
return a.store.GetSeries(ctx, userID, from, through, matchers...)
}

// LabelNamesForMetricName implements stores.Store.
func (a *AsyncStore) LabelNamesForMetricName(ctx context.Context, userID string, from model.Time, through model.Time, metricName string) ([]string, error) {
// TODO(chaudum): Check if can be removed
// panic("unimplemented")
return a.store.LabelNamesForMetricName(ctx, userID, from, through, metricName)
}

// LabelValuesForMetricName implements stores.Store.
func (a *AsyncStore) LabelValuesForMetricName(ctx context.Context, userID string, from model.Time, through model.Time, metricName string, labelName string, matchers ...*labels.Matcher) ([]string, error) {
// TODO(chaudum): Check if can be removed
// panic("unimplemented")
return a.store.LabelValuesForMetricName(ctx, userID, from, through, metricName, labelName, matchers...)
}

Expand All @@ -259,8 +253,6 @@ func (*AsyncStore) PutOne(ctx context.Context, from model.Time, through model.Ti

// SetChunkFilterer implements stores.Store.
func (a *AsyncStore) SetChunkFilterer(chunkFilter chunk.RequestChunkFilterer) {
// TODO(chaudum): Check if can be removed
// panic("unimplemented")
a.store.SetChunkFilterer(chunkFilter)
}

Expand Down

0 comments on commit 340a623

Please sign in to comment.