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

Function createHTTPClient

cmd/tempo-vulture/main.go:246–250  ·  view source on GitHub ↗
(queryURL string, orgID string, queryLiveStores bool)

Source from the content-addressed store, hash-verified

244}
245
246func createHTTPClient(queryURL string, orgID string, queryLiveStores bool) *httpclient.Client {
247 httpClient := httpclient.New(queryURL, orgID)
248 httpClient.QueryLiveStores = queryLiveStores
249 return httpClient
250}
251
252func getGRPCEndpoint(endpoint string) (string, error) {
253 u, err := url.Parse(endpoint)

Callers 2

TestCreateHttpClientFunction · 0.70
mainFunction · 0.70

Calls 1

NewFunction · 0.92

Tested by 1

TestCreateHttpClientFunction · 0.56