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

Method SearchTraceQL

pkg/httpclient/client.go:314–322  ·  view source on GitHub ↗
(query string)

Source from the content-addressed store, hash-verified

312}
313
314func (c *Client) SearchTraceQL(query string) (*tempopb.SearchResponse, error) {
315 m := &tempopb.SearchResponse{}
316 _, err := c.getFor(c.buildSearchQueryURL("q", query, 0, 0, 0, 0, c.queryParams), m)
317 if err != nil {
318 return nil, err
319 }
320
321 return m, nil
322}
323
324func (c *Client) SearchTraceQLWithRange(query string, start int64, end int64) (*tempopb.SearchResponse, error) {
325 m := &tempopb.SearchResponse{}

Callers

nothing calls this directly

Calls 2

getForMethod · 0.95
buildSearchQueryURLMethod · 0.95

Tested by

no test coverage detected