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

Method configureGenerator

cmd/tempo/app/modules.go:315–321  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

313}
314
315func (t *App) configureGenerator() {
316 t.cfg.Generator.Ingest = t.cfg.Ingest
317 t.cfg.Generator.ConsumeFromKafka = !IsSingleBinary(t.cfg.Target)
318 if t.cfg.Generator.ConsumeFromKafka && t.cfg.Generator.RingMode == generator.RingModePartition {
319 t.cfg.Generator.Ingest.Kafka.ConsumerGroup = generator.ConsumerGroup
320 }
321}
322
323func (t *App) generatorRingReader() (ring.PartitionRingReader, error) {
324 if IsSingleBinary(t.cfg.Target) {

Callers 3

initGeneratorMethod · 0.95
TestConfigureGeneratorFunction · 0.95
TestGeneratorRingReaderFunction · 0.95

Calls 1

IsSingleBinaryFunction · 0.85

Tested by 2

TestConfigureGeneratorFunction · 0.76
TestGeneratorRingReaderFunction · 0.76