[[
  {
    "name": "http.client.request",
    "service": "mysvc",
    "resource": "http.client.request",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "http",
    "error": 0,
    "meta": {
      "_dd.p.dm": "-0",
      "_dd.p.tid": "65e2cda100000000",
      "_dd.peer.service.source": "out.host",
      "component": "httpx",
      "http.method": "GET",
      "http.status_code": "200",
      "http.url": "http://testserver/sub-app/hello/name",
      "http.useragent": "testclient",
      "language": "python",
      "out.host": "testserver",
      "peer.service": "testserver",
      "runtime-id": "7509f6a8e20d4178841ceee6d72d87a7",
      "span.kind": "client"
    },
    "metrics": {
      "_dd.measured": 1,
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 73386
    },
    "duration": 1772000,
    "start": 1709362593093917000
  },
     {
       "name": "http.server.request",
       "service": "mysvc",
       "resource": "GET /sub-app/hello/{name}",
       "trace_id": 0,
       "span_id": 2,
       "parent_id": 1,
       "type": "web",
       "error": 0,
       "meta": {
         "_dd.p.tid": "65e2cda100000000",
         "component": "fastapi",
         "http.method": "GET",
         "http.route": "/sub-app/hello/{name}",
         "http.status_code": "200",
         "http.url": "http://testserver/sub-app/hello/name",
         "http.useragent": "testclient",
         "http.version": "1.1",
         "span.kind": "server"
       },
       "duration": 934000,
       "start": 1709362593094398000
     },
        {
          "name": "http.server.request",
          "service": "mysvc",
          "resource": "GET /hello/{name}",
          "trace_id": 0,
          "span_id": 3,
          "parent_id": 2,
          "type": "web",
          "error": 0,
          "meta": {
            "_dd.p.tid": "65e2cda100000000",
            "component": "fastapi",
            "http.method": "GET",
            "http.status_code": "200",
            "http.url": "http://testserver/sub-app/hello/name",
            "http.useragent": "testclient",
            "http.version": "1.1",
            "span.kind": "server"
          },
          "duration": 672000,
          "start": 1709362593094666000
        },
           {
             "name": "fastapi.serialize_response",
             "service": "mysvc",
             "resource": "fastapi.serialize_response",
             "trace_id": 0,
             "span_id": 4,
             "parent_id": 3,
             "type": "",
             "error": 0,
             "meta": {
               "_dd.p.tid": "65e2cda100000000"
             },
             "duration": 30000,
             "start": 1709362593095219000
           }]]
