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

Struct asyncTraceSharder

modules/frontend/traceid_sharder.go:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20)
21
22type asyncTraceSharder struct {
23 next pipeline.AsyncRoundTripper[combiner.PipelineResponse]
24 cfg *TraceByIDConfig
25 logger log.Logger
26 blockBoundaries [][]byte
27 jobsPerQuery *prometheus.HistogramVec
28}
29
30func newAsyncTraceIDSharder(cfg *TraceByIDConfig, jobsPerQuery *prometheus.HistogramVec, logger log.Logger) pipeline.AsyncMiddleware[combiner.PipelineResponse] {
31 return pipeline.AsyncMiddlewareFunc[combiner.PipelineResponse](func(next pipeline.AsyncRoundTripper[combiner.PipelineResponse]) pipeline.AsyncRoundTripper[combiner.PipelineResponse] {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected