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

Function MetaFileName

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

MetaFileName returns the object name for the block meta given a block id and tenantid

(blockID uuid.UUID, tenantID, prefix string)

Source from the content-addressed store, hash-verified

359
360// MetaFileName returns the object name for the block meta given a block id and tenantid
361func MetaFileName(blockID uuid.UUID, tenantID, prefix string) string {
362 return path.Join(prefix, tenantID, blockID.String(), MetaName)
363}
364
365// CompactedMetaFileName returns the object name for the compacted block meta given a block id and tenantid
366func CompactedMetaFileName(blockID uuid.UUID, tenantID, prefix string) string {

Callers 4

MarkBlockCompactedMethod · 0.92
MarkBlockCompactedMethod · 0.92
MarkBlockCompactedMethod · 0.92
TestMetaFileNameFunction · 0.85

Calls 2

JoinMethod · 0.65
StringMethod · 0.45

Tested by 1

TestMetaFileNameFunction · 0.68