diff --git a/integration/query_frontend_test.go b/integration/query_frontend_test.go index 4cfdc35d643..9cd1d48985b 100644 --- a/integration/query_frontend_test.go +++ b/integration/query_frontend_test.go @@ -383,7 +383,7 @@ func runQueryFrontendTest(t *testing.T, cfg queryFrontendTestConfig) { if userID == 0 && cfg.queryStatsEnabled { res, _, err := c.QueryRaw("{instance=~\"hello.*\"}") require.NoError(t, err) - require.Regexp(t, "querier_wall_time;dur=[0-9.]*, response_time;dur=[0-9.]*, bytes_processed;val=[0-9.]*$", res.Header.Values("Server-Timing")[0]) + require.Regexp(t, "querier_wall_time;dur=[0-9.]*, response_time;dur=[0-9.]*, bytes_processed;val=[0-9.]*$, total_samples;val=[0-9.]*$", res.Header.Values("Server-Timing")[0]) } // Beyond the range of -querier.query-ingesters-within should return nothing. No need to repeat it for each user.