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

Method CreateBlock

tempodb/encoding/vparquet5/encoding.go:44–46  ·  view source on GitHub ↗
(ctx context.Context, cfg *common.BlockConfig, meta *backend.BlockMeta, i common.Iterator, r backend.Reader, to backend.Writer)

Source from the content-addressed store, hash-verified

42}
43
44func (v Encoding) CreateBlock(ctx context.Context, cfg *common.BlockConfig, meta *backend.BlockMeta, i common.Iterator, r backend.Reader, to backend.Writer) (*backend.BlockMeta, error) {
45 return CreateBlock(ctx, cfg, meta, i, r, to)
46}
47
48// OpenWALBlock opens an existing appendable block
49func (v Encoding) OpenWALBlock(filename, path string, ingestionSlack, additionalStartSlack time.Duration) (common.WALBlock, error, error) {

Callers

nothing calls this directly

Calls 1

CreateBlockFunction · 0.70

Tested by

no test coverage detected