wu-sheng opened a new pull request #4995:
URL: https://github.com/apache/skywalking/pull/4995


   1. Fix endpoint dependency bug in MQ and uninstrumented proxy cases. The new 
`MultiScopesAnalysisListenerTest` is really helpful on locating this complex 
analysis issue.
   1. Support endpoint dependency(v2 of endpoint topology case).
   
   New graphql query
   ```graphql
   {
     getEndpointDependencies(
       endpointId: 
"bW9ja19iX3NlcnZpY2U=.1_b3JnLnNreXdha2luZy5hcG0udGVzdGNhc2UuZHViYm8uc2VydmljZXMuR3JlZXRTZXJ2aWNlSW1wbC5kb0J1c2luZXNzKCk=",
     duration: {step:MINUTE, start: "2020-06-30 1750", end: "2020-06-30 1850"}
     ) {
       nodes {
         id,
         name,
         serviceId,
         serviceName,
         type,
         isReal
       },
       calls{
         id,
         source,
         target,
         detectPoints
       }
     }
   }
   ```
   
   ```graphql
   {
     "data": {
       "getEndpointDependencies": {
         "nodes": [
           {
             "id": 
"bW9ja19hX3NlcnZpY2U=.1_L2R1YmJveC1jYXNlL2Nhc2UvZHViYm94LXJlc3Q=",
             "name": "/dubbox-case/case/dubbox-rest",
             "serviceId": "bW9ja19hX3NlcnZpY2U=.1",
             "serviceName": "mock_a_service",
             "type": "",
             "isReal": true
           },
           {
             "id": 
"bW9ja19iX3NlcnZpY2U=.1_b3JnLnNreXdha2luZy5hcG0udGVzdGNhc2UuZHViYm8uc2VydmljZXMuR3JlZXRTZXJ2aWNlSW1wbC5kb0J1c2luZXNzKCk=",
             "name": 
"org.skywaking.apm.testcase.dubbo.services.GreetServiceImpl.doBusiness()",
             "serviceId": "bW9ja19iX3NlcnZpY2U=.1",
             "serviceName": "mock_b_service",
             "type": "",
             "isReal": true
           },
           {
             "id": 
"bW9ja19jX3NlcnZpY2U=.1_b3JnLmFwYWNoZS5za3l3YWxraW5nLlJvY2tldE1R",
             "name": "org.apache.skywalking.RocketMQ",
             "serviceId": "bW9ja19jX3NlcnZpY2U=.1",
             "serviceName": "mock_c_service",
             "type": "",
             "isReal": true
           }
         ],
         "calls": [
           {
             "id": 
"bW9ja19hX3NlcnZpY2U=.1-L2R1YmJveC1jYXNlL2Nhc2UvZHViYm94LXJlc3Q=-bW9ja19iX3NlcnZpY2U=.1-b3JnLnNreXdha2luZy5hcG0udGVzdGNhc2UuZHViYm8uc2VydmljZXMuR3JlZXRTZXJ2aWNlSW1wbC5kb0J1c2luZXNzKCk=",
             "source": 
"bW9ja19hX3NlcnZpY2U=.1_L2R1YmJveC1jYXNlL2Nhc2UvZHViYm94LXJlc3Q=",
             "target": 
"bW9ja19iX3NlcnZpY2U=.1_b3JnLnNreXdha2luZy5hcG0udGVzdGNhc2UuZHViYm8uc2VydmljZXMuR3JlZXRTZXJ2aWNlSW1wbC5kb0J1c2luZXNzKCk=",
             "detectPoints": [
               "SERVER"
             ]
           },
           {
             "id": 
"bW9ja19iX3NlcnZpY2U=.1-b3JnLnNreXdha2luZy5hcG0udGVzdGNhc2UuZHViYm8uc2VydmljZXMuR3JlZXRTZXJ2aWNlSW1wbC5kb0J1c2luZXNzKCk=-bW9ja19jX3NlcnZpY2U=.1-b3JnLmFwYWNoZS5za3l3YWxraW5nLlJvY2tldE1R",
             "source": 
"bW9ja19iX3NlcnZpY2U=.1_b3JnLnNreXdha2luZy5hcG0udGVzdGNhc2UuZHViYm8uc2VydmljZXMuR3JlZXRTZXJ2aWNlSW1wbC5kb0J1c2luZXNzKCk=",
             "target": 
"bW9ja19jX3NlcnZpY2U=.1_b3JnLmFwYWNoZS5za3l3YWxraW5nLlJvY2tldE1R",
             "detectPoints": [
               "SERVER"
             ]
           }
         ]
       }
     }
   }
   ```


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to