[[
  {
    "name": "test_wsgi.request",
    "service": "wsgi",
    "resource": "request resource was modified",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "web",
    "error": 1,
    "meta": {
      "_dd.base_service": "tests.contrib.wsgi",
      "_dd.p.dm": "-0",
      "_dd.p.tid": "654a694400000000",
      "component": "wsgi",
      "error.message": "Oops!",
      "error.stack": "Traceback (most recent call last):\n  File \"/root/project/ddtrace/contrib/wsgi/wsgi.py\", line 111, in __call__\n    closing_iterator = self.app(environ, ctx.get_item(\"intercept_start_response\"))\n  File \"/root/project/tests/contrib/wsgi/test_wsgi.py\", line 37, in application\n    raise Exception(\"Oops!\")\nException: Oops!\n",
      "error.type": "builtins.Exception",
      "language": "python",
      "request_tag": "req test tag set",
      "runtime-id": "2161c5835c094c75b8ddbd3c00e590d6",
      "span.kind": "server"
    },
    "metrics": {
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 7611,
      "request_metric": 1
    },
    "duration": 258084,
    "start": 1692650304968216048
  },
     {
       "name": "test_wsgi.application",
       "service": "wsgi",
       "resource": "test_wsgi.application",
       "trace_id": 0,
       "span_id": 2,
       "parent_id": 1,
       "type": "",
       "error": 1,
       "meta": {
         "_dd.base_service": "tests.contrib.wsgi",
         "_dd.p.tid": "654a694400000000",
         "component": "wsgi",
         "error.message": "Oops!",
         "error.stack": "Traceback (most recent call last):\n  File \"/root/project/ddtrace/contrib/wsgi/wsgi.py\", line 111, in __call__\n    closing_iterator = self.app(environ, ctx.get_item(\"intercept_start_response\"))\n  File \"/root/project/tests/contrib/wsgi/test_wsgi.py\", line 37, in application\n    raise Exception(\"Oops!\")\nException: Oops!\n",
         "error.type": "builtins.Exception"
       },
       "duration": 159375,
       "start": 1692650304968297382
     }]]
