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

Function init

cmd/tempo-query/main.go:25–29  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23)
24
25func init() {
26 // Required because the trace_id field in GetTraceRequest of storage.pb.go uses customtype, which doesn't work with grpc 1.38.0+.
27 // gogocodec provides a workaround, see pkg/gogocodec/gogocodec.go for more information.
28 encoding.RegisterCodec(gogocodec.NewCodec())
29}
30
31func main() {
32 config := zap.NewProductionEncoderConfig()

Callers

nothing calls this directly

Calls 1

NewCodecFunction · 0.92

Tested by

no test coverage detected