wu-sheng commented on issue #4399: support http api for upstream trace.
URL: https://github.com/apache/skywalking/pull/4399#issuecomment-590037930
 
 
   @JaredTan95 The Nginx LUA first version has been finished. Could you try 
that with a Java App as upstream and downstream?
   https://github.com/apache/skywalking-nginx-lua#setup-doc
   
   This is the segment I reported
   ```json
   {
     "spans": [
       {
         "operationName": "/ingress",
         "startTime": 1582444532567,
         "tags": {},
         "endTime": 1582444532583,
         "spanType": "Exit",
         "logs": {},
         "spanId": 1,
         "isError": false,
         "parentSpanId": 0,
         "componentId": 6000,
         "peer": "User Service Name-nginx:upstream_ip:port",
         "spanLayer": "HTTP"
       },
       {
         "operationName": "/ingress",
         "startTime": 1582444532567,
         "tags": [
           {
             "key": "http.method",
             "value": "GET"
           },
           {
             "key": "http.params",
             "value": "http://127.0.0.1/ingress";
           }
         ],
         "endTime": 1582444532583,
         "spanType": "Entry",
         "spanId": 0,
         "logs": {},
         "parentSpanId": -1,
         "isError": false,
         "spanLayer": "HTTP",
         "componentId": 6000
       }
     ],
     "serviceInstanceId": 1,
     "serviceId": 1,
     "traceSegmentId": "1582444532104.794206293.69887",
     "globalTraceIds": [
       "1582444532104.794206293.69887"
     ]
   }
   ```
   
   And this is the header I injected
   ```
   
1-MTU4MjQ0NDUzMjEwNC43OTQyMDYyOTMuNjk4ODc=-MTU4MjQ0NDUzMjEwNC43OTQyMDYyOTMuNjk4ODc=-1-1-1-IyNVc2VyIFNlcnZpY2UgTmFtZS1uZ2lueDp1cHN0cmVhbV9pcDpwb3J0-Iy9pbmdyZXNz-Iy9pbmdyZXNz
   ```

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to