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

Method UsageTrackerHandler

modules/distributor/distributor.go:584–590  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

582}
583
584func (d *Distributor) UsageTrackerHandler() http.Handler {
585 if d.usage != nil {
586 return d.usage.Handler()
587 }
588
589 return nil
590}
591
592func (d *Distributor) sendToKafka(ctx context.Context, userID string, keys []uint32, traces []*rebatchedTrace, skipMetricsGeneration bool) error {
593 marshalledTraces := make([][]byte, len(traces))

Callers 1

initDistributorMethod · 0.80

Calls 1

HandlerMethod · 0.80

Tested by

no test coverage detected