MCPcopy Create free account
hub / github.com/cortexproject/cortex / Appender

Method Appender

pkg/ingester/ingester.go:417–419  ·  view source on GitHub ↗

Explicitly wrapping the tsdb.DB functions that we use.

(ctx context.Context)

Source from the content-addressed store, hash-verified

415// Explicitly wrapping the tsdb.DB functions that we use.
416
417func (u *userTSDB) Appender(ctx context.Context) storage.Appender {
418 return u.db.Appender(ctx)
419}
420
421func (u *userTSDB) Querier(mint, maxt int64) (storage.Querier, error) {
422 return u.db.Querier(mint, maxt)

Callers 15

CreateNHBlockFunction · 0.45
CreateBlockFunction · 0.45
generateStorageBlockFunction · 0.45
mockTSDBFunction · 0.45
generateBenchmarkBlockFunction · 0.45
QueryStreamMethod · 0.45
createTSDBBlockFunction · 0.45
mockSeriesResponseFunction · 0.45
ConvertToChunksFunction · 0.45
PushMethod · 0.45
mockWriteRequestFunction · 0.45

Calls

no outgoing calls

Tested by 11

generateStorageBlockFunction · 0.36
mockTSDBFunction · 0.36
generateBenchmarkBlockFunction · 0.36
QueryStreamMethod · 0.36
createTSDBBlockFunction · 0.36
mockSeriesResponseFunction · 0.36
mockWriteRequestFunction · 0.36
CreateBlockFunction · 0.36
fillCacheFunction · 0.36