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

Struct SegmentDecoder

pkg/model/v2/segment_decoder.go:18–18  ·  view source on GitHub ↗

SegmentDecoder maintains the relationship between distributor -> ingester Segment format: | uint32 | uint32 | variable length | | start | end | marshalled tempopb.Trace | start and end are unix epoch seconds

Source from the content-addressed store, hash-verified

16// | start | end | marshalled tempopb.Trace |
17// start and end are unix epoch seconds
18type SegmentDecoder struct{}
19
20var segmentDecoder = &SegmentDecoder{}
21

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected