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

Method running

modules/generator/generator.go:148–155  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

146}
147
148func (g *Generator) running(ctx context.Context) error {
149 if g.cfg.ConsumeFromKafka {
150 g.startKafka()
151 }
152
153 <-ctx.Done()
154 return nil
155}
156
157func (g *Generator) stopping(_ error) error {
158 g.stopIncomingRequests()

Callers

nothing calls this directly

Calls 2

startKafkaMethod · 0.95
DoneMethod · 0.65

Tested by

no test coverage detected