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

Function NewBlockMetaWithDedicatedColumns

tempodb/backend/block_meta.go:242–251  ·  view source on GitHub ↗
(tenantID string, blockID uuid.UUID, version string, dc DedicatedColumns)

Source from the content-addressed store, hash-verified

240}
241
242func NewBlockMetaWithDedicatedColumns(tenantID string, blockID uuid.UUID, version string, dc DedicatedColumns) *BlockMeta {
243 b := &BlockMeta{
244 Version: version,
245 BlockID: UUID(blockID),
246 TenantID: tenantID,
247 DedicatedColumns: dc,
248 }
249
250 return b
251}
252
253// ObjectAdded updates the block meta appropriately based on information about an added record
254// start/end are unix epoch seconds, when 0 the start and the end are not applied.

Callers 1

NewBlockMetaFunction · 0.85

Calls 1

UUIDTypeAlias · 0.85

Tested by

no test coverage detected