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