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

Method TenantIndex

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

TenantIndex returns lists of all metas given a tenant

(ctx context.Context, tenantID string)

Source from the content-addressed store, hash-verified

76 BlockMeta(ctx context.Context, blockID uuid.UUID, tenantID string) (*BlockMeta, error)
77 // TenantIndex returns lists of all metas given a tenant
78 TenantIndex(ctx context.Context, tenantID string) (*TenantIndex, error)
79 // Find executes f for each object in the backend that matches the keypath.
80 Find(ctx context.Context, keypath KeyPath, f FindFunc) error
81 // HasNoCompactFlag returns true if the block has the nocompact flag set

Callers 8

TestReaderFunction · 0.95
BenchmarkIndexLoadFunction · 0.95
TestTenantIndexFallbackFunction · 0.65
TestFixturesFunction · 0.65
TestOriginalFixturesFunction · 0.65
deleteTenantMethod · 0.65
RunMethod · 0.65

Calls

no outgoing calls

Tested by 5

TestReaderFunction · 0.76
BenchmarkIndexLoadFunction · 0.76
TestTenantIndexFallbackFunction · 0.52
TestFixturesFunction · 0.52
TestOriginalFixturesFunction · 0.52