shichaoyuan commented on PR #607:
URL: https://github.com/apache/skywalking-java/pull/607#issuecomment-1711035281

   > Healthcheck is for determining the app and dependencies are standing by. I 
think it is necessary. What is the cause of this failing?
   
   ```
   actual data: {
       "segmentItems": [
         {
           "serviceName": "elasticsearch-7.x-scenario",
           "segmentSize": "2",
           "segments": [
             {
               "segmentId": 
"1e84afbcaf3541af8df1be94b22cd050.47.16940869262530000",
               "spans": [
                 {
                   "operationName": "Elasticsearch/Health",
                   "parentSpanId": "0",
                   "spanId": "1",
                   "spanLayer": "Database",
                   "tags": [
                     {
                       "key": "db.type",
                       "value": "Elasticsearch"
                     }
                   ],
                   "startTime": "1694086926351",
                   "endTime": "1694086926610",
                   "componentId": "77",
                   "isError": "false",
                   "spanType": "Exit",
                   "peer": "elasticsearch-server-7.x:9200",
                   "skipAnalysis": "false"
                 },
                 {
                   "operationName": "HEAD:/elasticsearch-case/case/healthCheck",
                   "parentSpanId": "-1",
                   "spanId": "0",
                   "spanLayer": "Http",
                   "tags": [
                     {
                       "key": "url",
                       "value": 
"http://localhost:8080/elasticsearch-case/case/healthCheck";
                     },
                     {
                       "key": "http.method",
                       "value": "HEAD"
                     },
                     {
                       "key": "http.status_code",
                       "value": "200"
                     }
                   ],
                   "startTime": "1694086926255",
                   "endTime": "1694086926638",
                   "componentId": "1",
                   "isError": "false",
                   "spanType": "Entry",
                   "peer": "",
                   "skipAnalysis": "false"
                 }
               ]
             },
             {
               "segmentId": 
"1e84afbcaf3541af8df1be94b22cd050.34.16940869273440000",
               "spans": [
                 {
                   "operationName": 
"/76b8e333-ed41-42e7-bac8-fc44b3b53088/_refresh?ignore_throttled\u003dfalse\u0026ignore_unavailable\u003dfalse\u0026expand_wildcards\u003dopen\u0026allow_no_indices\u003dtrue",
                   "parentSpanId": "0",
                   "spanId": "1",
                   "spanLayer": "Http",
                   "tags": [
                     {
                       "key": "url",
                       "value": 
"/76b8e333-ed41-42e7-bac8-fc44b3b53088/_refresh?ignore_throttled\u003dfalse\u0026ignore_unavailable\u003dfalse\u0026expand_wildcards\u003dopen\u0026allow_no_indices\u003dtrue"
                     },
                     {
                       "key": "http.method",
                       "value": "POST"
                     },
                     {
                       "key": "http.status_code",
                       "value": "200"
                     }
                   ],
                   "startTime": "1694086927346",
                   "endTime": "1694086927453",
                   "componentId": "26",
                   "isError": "true",
                   "spanType": "Exit",
                   "peer": "elasticsearch-server-7.x:9200",
                   "skipAnalysis": "false"
                 },
                 {
                   "operationName": "HttpAsyncClient/local",
                   "parentSpanId": "-1",
                   "spanId": "0",
                   "spanLayer": "Http",
                   "refs": [
                     {
                       "parentEndpoint": 
"GET:/elasticsearch-case/case/elasticsearch",
                       "networkAddress": "",
                       "refType": "CrossThread",
                       "parentSpanId": 0,
                       "parentTraceSegmentId": 
"1e84afbcaf3541af8df1be94b22cd050.48.16940869266830000",
                       "parentServiceInstance": 
"f07a08c04[799](https://github.com/apache/skywalking-java/actions/runs/6109031224/job/16579783820#step:4:805)[email protected]",
                       "parentService": "elasticsearch-7.x-scenario",
                       "traceId": 
"1e84afbcaf3541af8df1be94b22cd050.48.16940869266830001"
                     }
                   ],
                   "startTime": "1694086927344",
                   "endTime": "1694086927453",
                   "componentId": "26",
                   "isError": "false",
                   "spanType": "Local",
                   "peer": "",
                   "skipAnalysis": "false"
                 }
               ]
             }
           ]
         }
       ],
   ```
   
   It seems that there is an abnormal `"operationName": "HttpAsyncClient/local"`


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