[[
  {
    "name": "starlette.background_task",
    "service": "tests.contrib.starlette",
    "resource": "<unknown>",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "",
    "error": 0,
    "meta": {
      "_dd.p.dm": "-0",
      "_dd.p.tid": "660a332900000000",
      "_dd.span_links": "[{\"trace_id\": \"660a3327000000008449256363f198a8\", \"span_id\": \"92db06edf6ed92a6\", \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]",
      "language": "python",
      "runtime-id": "2c92a35bf98a4b02af66c1340b9fc3bc"
    },
    "metrics": {
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 7548
    },
    "duration": 2004714626,
    "start": 1711944489796649052
  }],
[
  {
    "name": "starlette.background_task",
    "service": "tests.contrib.starlette",
    "resource": "custom_task",
    "trace_id": 1,
    "span_id": 1,
    "parent_id": 0,
    "type": "",
    "error": 0,
    "meta": {
      "_dd.p.dm": "-0",
      "_dd.p.tid": "660a332700000000",
      "_dd.span_links": "[{\"trace_id\": \"660a3327000000008449256363f198a8\", \"span_id\": \"92db06edf6ed92a6\", \"tracestate\": \"dd=s:1;t.dm:-0\", \"flags\": 1}]",
      "language": "python",
      "runtime-id": "2c92a35bf98a4b02af66c1340b9fc3bc"
    },
    "metrics": {
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 7548
    },
    "duration": 2003761042,
    "start": 1711944487791773926
  }],
[
  {
    "name": "starlette.request",
    "service": "starlette",
    "resource": "GET /backgroundtask",
    "trace_id": 2,
    "span_id": 1,
    "parent_id": 0,
    "type": "web",
    "error": 0,
    "meta": {
      "_dd.base_service": "tests.contrib.starlette",
      "_dd.p.dm": "-0",
      "_dd.p.tid": "660a332700000000",
      "component": "starlette",
      "http.method": "GET",
      "http.route": "/backgroundtask",
      "http.status_code": "200",
      "http.url": "http://testserver/backgroundtask",
      "http.useragent": "testclient",
      "http.version": "1.1",
      "language": "python",
      "runtime-id": "2c92a35bf98a4b02af66c1340b9fc3bc",
      "span.kind": "server"
    },
    "metrics": {
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 7548
    },
    "duration": 501334,
    "start": 1711944487791160467
  }]]
