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

Method FindTraceByID

modules/livestore/local_block.go:55–59  ·  view source on GitHub ↗
(ctx context.Context, id common.ID, opts common.SearchOptions)

Source from the content-addressed store, hash-verified

53}
54
55func (c *LocalBlock) FindTraceByID(ctx context.Context, id common.ID, opts common.SearchOptions) (*tempopb.TraceByIDResponse, error) {
56 ctx, span := tracer.Start(ctx, "LocalBlock.FindTraceByID")
57 defer span.End()
58 return c.BackendBlock.FindTraceByID(ctx, id, opts)
59}
60
61func (c *LocalBlock) Search(ctx context.Context, req *tempopb.SearchRequest, opts common.SearchOptions) (*tempopb.SearchResponse, error) {
62 ctx, span := tracer.Start(ctx, "LocalBlock.Search")

Callers

nothing calls this directly

Calls 2

StartMethod · 0.65
FindTraceByIDMethod · 0.65

Tested by

no test coverage detected