[[
  {
    "name": "fastapi.request",
    "service": "fastapi",
    "resource": "POST /items/",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "web",
    "error": 0,
    "meta": {
      "_dd.base_service": "tests.contrib.fastapi",
      "_dd.p.dm": "-0",
      "_dd.p.tid": "65e2cd9000000000",
      "component": "fastapi",
      "http.method": "POST",
      "http.route": "/items/",
      "http.status_code": "200",
      "http.url": "http://testserver/items/",
      "http.useragent": "testclient",
      "http.version": "1.1",
      "language": "python",
      "runtime-id": "a89de0282259441ba89e19dca313cc1f",
      "span.kind": "server"
    },
    "metrics": {
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 73182
    },
    "duration": 474000,
    "start": 1709362576061863000
  },
     {
       "name": "fastapi.serialize_response",
       "service": "fastapi",
       "resource": "fastapi.serialize_response",
       "trace_id": 0,
       "span_id": 2,
       "parent_id": 1,
       "type": "",
       "error": 0,
       "meta": {
         "_dd.base_service": "tests.contrib.fastapi"
       },
       "duration": 83000,
       "start": 1709362576062154000
     }],
[
  {
    "name": "fastapi.request",
    "service": "fastapi",
    "resource": "GET /items/{item_id}",
    "trace_id": 1,
    "span_id": 1,
    "parent_id": 0,
    "type": "web",
    "error": 0,
    "meta": {
      "_dd.base_service": "tests.contrib.fastapi",
      "_dd.p.dm": "-0",
      "_dd.p.tid": "65e2cd9000000000",
      "component": "fastapi",
      "http.method": "GET",
      "http.route": "/items/{item_id}",
      "http.status_code": "200",
      "http.url": "http://testserver/items/test_id",
      "http.useragent": "testclient",
      "http.version": "1.1",
      "language": "python",
      "runtime-id": "a89de0282259441ba89e19dca313cc1f",
      "span.kind": "server"
    },
    "metrics": {
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 73182
    },
    "duration": 300000,
    "start": 1709362576063462000
  },
     {
       "name": "fastapi.serialize_response",
       "service": "fastapi",
       "resource": "fastapi.serialize_response",
       "trace_id": 1,
       "span_id": 2,
       "parent_id": 1,
       "type": "",
       "error": 0,
       "meta": {
         "_dd.base_service": "tests.contrib.fastapi"
       },
       "duration": 62000,
       "start": 1709362576063633000
     }]]
