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

Method pushTracesKafka

modules/distributor/distributor.go:511–514  ·  view source on GitHub ↗
(ctx context.Context, userID string, keys []uint32, traces []*rebatchedTrace)

Source from the content-addressed store, hash-verified

509}
510
511func (d *Distributor) pushTracesKafka(ctx context.Context, userID string, keys []uint32, traces []*rebatchedTrace) error {
512 skipMetricsGeneration := generator.ExtractNoGenerateMetrics(ctx)
513 return d.sendToKafka(ctx, userID, keys, traces, skipMetricsGeneration)
514}
515
516func (d *Distributor) pushLocal(ctx context.Context, userID string, keys []uint32, traces []*rebatchedTrace) error {
517 if err := d.pushTracesToLiveStore(ctx, userID, traces); err != nil {

Callers 1

PushTracesMethod · 0.95

Calls 2

sendToKafkaMethod · 0.95
ExtractNoGenerateMetricsFunction · 0.92

Tested by

no test coverage detected