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

Method APIClientHTTP

integration/util/harness_api_reads.go:29–31  ·  view source on GitHub ↗
(tenant string)

Source from the content-addressed store, hash-verified

27}
28
29func (h *TempoHarness) APIClientHTTP(tenant string) *httpclient.Client {
30 return httpclient.New(h.BaseURL(), tenant)
31}
32
33func (h *TempoHarness) APIClientGRPC(tenant string) (tempopb.StreamingQuerierClient, context.Context, error) {
34 endpoint := h.Services[ServiceQueryFrontend].Endpoint(3200)

Callers 15

TestEncodingsFunction · 0.80
TestQueryLimitsFunction · 0.80
TestLimitsPartialSuccessFunction · 0.80
TestQueryRateLimitsFunction · 0.80
TestQueryRangeExemplarsFunction · 0.80
callQueryRangeFunction · 0.80
TestInvalidTenantsFunction · 0.80
TestOverridesAPI_GETFunction · 0.80
TestOverridesAPI_POSTFunction · 0.80
TestOverridesAPI_PATCHFunction · 0.80
TestOverridesAPI_DELETEFunction · 0.80

Calls 2

BaseURLMethod · 0.95
NewFunction · 0.92

Tested by 15

TestEncodingsFunction · 0.64
TestQueryLimitsFunction · 0.64
TestLimitsPartialSuccessFunction · 0.64
TestQueryRateLimitsFunction · 0.64
TestQueryRangeExemplarsFunction · 0.64
callQueryRangeFunction · 0.64
TestInvalidTenantsFunction · 0.64
TestOverridesAPI_GETFunction · 0.64
TestOverridesAPI_POSTFunction · 0.64
TestOverridesAPI_PATCHFunction · 0.64
TestOverridesAPI_DELETEFunction · 0.64