(t *testing.T, traces int)
| 430 | } |
| 431 | |
| 432 | func (h *TempoHarness) WaitTracesWrittenToBackend(t *testing.T, traces int) { |
| 433 | t.Helper() |
| 434 | |
| 435 | queryFrontend := h.Services[ServiceQueryFrontend] |
| 436 | require.NoError(t, queryFrontend.WaitSumMetricsWithOptions(e2e.GreaterOrEqual(float64(traces)), []string{"tempodb_backend_objects_total"}, e2e.WaitMissingMetrics)) |
| 437 | } |
| 438 | |
| 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! |
no outgoing calls