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

Method ForceBackendQuerying

integration/util/harness.go:441–444  ·  view source on GitHub ↗

ForceBackendQuerying restarts the query frontend with the query-backend config overlay applied. Using this function requires re-creating any clients pointing at the frontend!

(t *testing.T)

Source from the content-addressed store, hash-verified

439// ForceBackendQuerying restarts the query frontend with the query-backend config overlay applied.
440// Using this function requires re-creating any clients pointing at the frontend!
441func (h *TempoHarness) ForceBackendQuerying(t *testing.T) {
442 frontend := h.Services[ServiceQueryFrontend]
443 require.NoError(t, h.restartServiceWithConfigOverlay(t, frontend, queryBackendConfigFile))
444}
445
446/*
447 local object storage

Callers 5

TestEncodingsFunction · 0.80
TestTagEndpointsFunction · 0.80
TestTraceByIDandTraceQLFunction · 0.80
TestFailureModesFunction · 0.80

Calls 1

Tested by 5

TestEncodingsFunction · 0.64
TestTagEndpointsFunction · 0.64
TestTraceByIDandTraceQLFunction · 0.64
TestFailureModesFunction · 0.64