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

Method FindTraceByID

modules/livestore/live_store.go:840–844  ·  view source on GitHub ↗

FindTraceByID implements tempopb.Querier

(ctx context.Context, req *tempopb.TraceByIDRequest)

Source from the content-addressed store, hash-verified

838
839// FindTraceByID implements tempopb.Querier
840func (s *LiveStore) FindTraceByID(ctx context.Context, req *tempopb.TraceByIDRequest) (*tempopb.TraceByIDResponse, error) {
841 return withInstance(ctx, s, func(inst *instance) (*tempopb.TraceByIDResponse, error) {
842 return inst.FindByTraceID(ctx, req.TraceID, req.AllowPartialTrace)
843 })
844}
845
846// SearchRecent implements tempopb.Querier
847func (s *LiveStore) SearchRecent(ctx context.Context, req *tempopb.SearchRequest) (*tempopb.SearchResponse, error) {

Callers

nothing calls this directly

Calls 2

withInstanceFunction · 0.85
FindByTraceIDMethod · 0.80

Tested by

no test coverage detected