MCPcopy
hub / github.com/grafana/tempo / Find

Method Find

tempodb/backend/raw.go:71–71  ·  view source on GitHub ↗

Find executes the FindFunc for each object in the backend starting at the specified keypath. Collection of these objects is the callers responsibility.

(ctx context.Context, keypath KeyPath, f FindFunc)

Source from the content-addressed store, hash-verified

69 ListBlocks(ctx context.Context, tenant string) (blockIDs []uuid.UUID, compactedBlockIDs []uuid.UUID, err error)
70 // Find executes the FindFunc for each object in the backend starting at the specified keypath. Collection of these objects is the callers responsibility.
71 Find(ctx context.Context, keypath KeyPath, f FindFunc) error
72 // Read is for streaming entire objects from the backend. There will be an attempt to retrieve this from cache if shouldCache is true.
73 Read(ctx context.Context, name string, keyPath KeyPath, cacheInfo *CacheInfo) (io.ReadCloser, int64, error)
74 // ReadRange is for reading parts of large objects from the backend.

Callers 15

TestDBFunction · 0.65
TestBlockShardingFunction · 0.65
TestNilOnUnknownTenantIDFunction · 0.65
testCompactionRoundtripFunction · 0.65
testSameIDCompactionFunction · 0.65
checkIndexMethod · 0.65
checkIndexMethod · 0.65
checkIndexMethod · 0.65
FindMethod · 0.65
FindMethod · 0.65

Implementers 6

MockRawReadertempodb/backend/mocks.go
readerWritertempodb/backend/cache/cache.go
Azuretempodb/backend/azure/azure.go
readerWritertempodb/backend/gcs/gcs.go
readerWritertempodb/backend/s3/s3.go
Backendtempodb/backend/local/local.go

Calls

no outgoing calls

Tested by 9

TestDBFunction · 0.52
TestBlockShardingFunction · 0.52
TestNilOnUnknownTenantIDFunction · 0.52
testCompactionRoundtripFunction · 0.52
testSameIDCompactionFunction · 0.52
writeBadBlockFilesFunction · 0.52