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

Interface GeneratorCodec

pkg/ingest/encoding.go:154–156  ·  pkg/ingest/encoding.go::GeneratorCodec

GeneratorCodec is the interface used to convert data from Kafka records to the tempopb.PushSpansRequest expected by the generator processors.

Source from the content-addressed store, hash-verified

152// GeneratorCodec is the interface used to convert data from Kafka records to the
153// tempopb.PushSpansRequest expected by the generator processors.
154type GeneratorCodec interface {
155 Decode([]byte) (iter.Seq2[*tempopb.PushSpansRequest, error], error)
156}
157
158// PushBytesDecoder unmarshals tempopb.PushBytesRequest.
159type PushBytesDecoder struct {

Callers 5

readChMethod · 0.95
DecodeMethod · 0.65
readSeedFileMethod · 0.65
Test_ReportLoopFunction · 0.65
decompressFromBufferFunction · 0.65

Implementers 5

ZstdCodectempodb/backend/compression.go
Decoderpkg/ingest/encoding.go
PushBytesDecoderpkg/ingest/encoding.go
OTLPDecoderpkg/ingest/encoding.go
jsonCodecpkg/usagestats/seed.go

Calls

no outgoing calls

Tested by

no test coverage detected