Super-Lu opened a new issue, #12880:
URL: https://github.com/apache/skywalking/issues/12880

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/skywalking/issues?q=is%3Aissue) and found no 
similar issues.
   
   
   ### Apache SkyWalking Component
   
   UI (apache/skywalking-booster-ui)
   
   ### What happened
   
   When the depth is greater than 2, the topology graph queries all link 
information of virtual endpoints. When dealing with a large amount of data, the 
topology graph cannot be viewed, and the interface will return the following 
error: 'More than 15,000 'grammar' tokens have been presented. To prevent 
Denial Of Service attacks, parsing has been cancelled. 
   
   
   ### What you expected to happen
   
   When switching to the current depth to initiate a query on the endpoint 
topology graph page, it carries the list of endpoint IDs found in this query to 
the parameters of the next query. If the result of the first query includes the 
virtual node 'User', the second query will retrieve all link topology 
information under the ID of the virtual endpoint. However, these topology 
information are all unrelated to the target endpoint.
   
   ### How to reproduce
   
   I think the query logic in the front-end code should be modified. I have 
tested this locally and the results are promising, but the modification 
requires further discussion. The proposed modification is to filter out the IDs 
of virtual endpoints named 'User' from the parameters of the next query if they 
were included in the results of the previous query.
   
   And I understand that once the query reaches the virtual endpoint 'User', it 
should stop further querying as virtual endpoints are considered starting 
points.
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request to fix on your own?
   
   - [X] Yes I am willing to submit a pull request on my own!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: 
[email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to