v1

latestOpenAPI 3.0.02026-08-064311,0881.3 MB
traces

Get trace details.

Get details of a trace with the given identifier.

get/v1/tracing/traces/{traceId}

Path parameters

traceIdstring required

Identifier of the trace to get the details.

Response

Details of the trace with the given identifier.

idstring required

Trace identifier.

rootServicestring

Root service which started the trace. Examples: user-service, authentication-service, payment-service, /shopping-cart

rootResourcestring

Root resource on which the trace was started. Examples: db.query, http.request, rpc.call, container

rootOperationNamestring

The name of the operation given to the root span.

metricsobject

Calculated trace metrics.

startedAtstring date-time

Date and time the trace was started in ISO 8601 / RFC3339 format.

Example response

{
  "id": "00000000000120CB",
  "rootService": "user-service",
  "rootResource": "http.request",
  "rootStatus": {
    "code": "OK",
    "message": "404"
  },
  "rootOperationName": "retrieveAccount",
  "metrics": {
    "_duration": 143984411
  },
  "startedAt": "2019-11-22T09:00:00Z",
  "criticalPathServiceBreakdownSummary": {
    "elements": [
      {
        "service": "user-service",
        "serviceColor": "#fa41c6",
        "duration": 12957153
      }
    ],
    "otherServicesDuration": 12957153,
    "idleTime": 60000000
  }
}