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

Method SearchTagValuesV2WithRange

pkg/httpclient/client.go:236–244  ·  view source on GitHub ↗
(tag, query string, start int64, end int64)

Source from the content-addressed store, hash-verified

234}
235
236func (c *Client) SearchTagValuesV2WithRange(tag, query string, start int64, end int64) (*tempopb.SearchTagValuesV2Response, error) {
237 m := &tempopb.SearchTagValuesV2Response{}
238 _, err := c.getFor(c.buildTagValuesV2QueryURL(tag, query, start, end), m)
239 if err != nil {
240 return nil, err
241 }
242
243 return m, nil
244}
245
246// Search Tempo. tags must be in logfmt format, that is "key1=value1 key2=value2"
247func (c *Client) Search(tags string) (*tempopb.SearchResponse, error) {

Callers 1

SearchTagValuesV2Method · 0.95

Calls 2

getForMethod · 0.95

Tested by

no test coverage detected