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

Method Tenants

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

Tenants returns a list of all tenants in a backend

(ctx context.Context)

Source from the content-addressed store, hash-verified

70 ReadRange(ctx context.Context, name string, blockID uuid.UUID, tenantID string, offset uint64, buffer []byte, cacheInfo *CacheInfo) error
71 // Tenants returns a list of all tenants in a backend
72 Tenants(ctx context.Context) ([]string, error)
73 // Blocks returns the blockIDs, compactedBlockIDs and an error from the backend.
74 Blocks(ctx context.Context, tenantID string) (blockIDs []uuid.UUID, compactedBlockIDs []uuid.UUID, err error)
75 // BlockMeta returns the blockmeta given a block and tenant id

Callers 7

TestReaderFunction · 0.95
RetainWithConfigMethod · 0.65
compactOneTenantMethod · 0.65
TenantsMethod · 0.65
TestApplyPollResultsFunction · 0.65
TestUpdatesSavedFunction · 0.65
DoMethod · 0.65

Calls

no outgoing calls

Tested by 3

TestReaderFunction · 0.76
TestApplyPollResultsFunction · 0.52
TestUpdatesSavedFunction · 0.52