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

Function IsTraceQLQuery

pkg/api/search.go:18–20  ·  view source on GitHub ↗

IsTraceQLQuery returns true if the request contains a traceQL query.

(r *tempopb.SearchRequest)

Source from the content-addressed store, hash-verified

16
17// IsTraceQLQuery returns true if the request contains a traceQL query.
18func IsTraceQLQuery(r *tempopb.SearchRequest) bool {
19 return len(r.Query) > 0
20}

Callers 2

SearchMethod · 0.92
SearchBlockMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected