Skip to content

skywalking-webapp shows that the call duration of the trace is incorrect #5052

@snpcp

Description

@snpcp

The maximum length of the call should be 10007ms, but 90s is instead, so the call length shown is incorrect.

The response data of the trace obtained can be viewed through the network.

This is JSON data:

{
  "data": {
    "trace": {
      "spans": [
        {
          "traceId": "1594174262602.771725797.25057",
          "segmentId": "1594174262602.771725797.25057",
          "spanId": 0,
          "parentSpanId": -1,
          "refs": [],
          "serviceCode": "ATG",
          "startTime": 1594174262602,
          "endTime": 1594174272610,
          "endpointName": "/a/b/c",
          "type": "Entry",
          "peer": "",
          "component": "Nginx",
          "isError": false,
          "layer": "Http",
          "tags": [
            {
              "key": "http.method",
              "value": "GET"
            },
            {
              "key": "http.params",
              "value": "http://10.9.1.103/a/b/c"
            }
          ],
          "logs": []
        },
        {
          "traceId": "1594174262602.771725797.25057",
          "segmentId": "1594174262602.771725797.25057",
          "spanId": 1,
          "parentSpanId": 0,
          "refs": [],
          "serviceCode": "ATG",
          "startTime": 1594174272604,
          "endTime": 1594174272610,
          "endpointName": "/a/b/c",
          "type": "Exit",
          "peer": "server-1",
          "component": "Nginx",
          "isError": false,
          "layer": "Http",
          "tags": [],
          "logs": []
        },
        {
          "traceId": "1594174262602.771725797.25057",
          "segmentId": "1594174174460.512703139.71822",
          "spanId": 0,
          "parentSpanId": -1,
          "refs": [
            {
              "traceId": "1594174262602.771725797.25057",
              "parentSegmentId": "1594174262602.771725797.25057",
              "parentSpanId": 1,
              "type": "CROSS_PROCESS"
            }
          ],
          "serviceCode": "User Service Name 1",
          "startTime": 1594174174460,
          "endTime": 1594174174466,
          "endpointName": "/ingress01",
          "type": "Entry",
          "peer": "",
          "component": "Nginx",
          "isError": false,
          "layer": "Http",
          "tags": [
            {
              "key": "http.method",
              "value": "GET"
            },
            {
              "key": "http.params",
              "value": "http://10.9.1.103/ingress01"
            }
          ],
          "logs": []
        },
        {
          "traceId": "1594174262602.771725797.25057",
          "segmentId": "1594174174460.512703139.71822",
          "spanId": 1,
          "parentSpanId": 0,
          "refs": [],
          "serviceCode": "User Service Name 1",
          "startTime": 1594174174460,
          "endTime": 1594174174466,
          "endpointName": "/ingress01",
          "type": "Exit",
          "peer": "upstream service 1",
          "component": "Nginx",
          "isError": false,
          "layer": "Http",
          "tags": [],
          "logs": []
        }
      ]
    }
  }
}

Metadata

Metadata

Assignees

Labels

questionEnd user question and discussion.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions