[[
  {
    "name": "internal",
    "service": "tests.opentelemetry",
    "resource": "test-otel-distributed-trace",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "",
    "error": 0,
    "meta": {
      "_dd.p.dm": "-0",
      "_dd.p.tid": "66a6956800000000",
      "language": "python",
      "runtime-id": "0da930484bcf4b488bfd7bb9cfd9c4b6"
    },
    "metrics": {
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 7703
    },
    "duration": 17414000,
    "start": 1700083163139832175
  },
     {
       "name": "flask.request",
       "service": "flask",
       "resource": "GET /otel",
       "trace_id": 0,
       "span_id": 2,
       "parent_id": 1,
       "type": "web",
       "error": 0,
       "meta": {
         "_dd.base_service": "",
         "_dd.p.dm": "-0",
         "_dd.p.tid": "66a6956800000000",
         "_dd.parent_id": "4f4e94b0f4d57229",
         "component": "flask",
         "flask.endpoint": "otel",
         "flask.url_rule": "/otel",
         "flask.version": "1.1.4",
         "http.method": "GET",
         "http.route": "/otel",
         "http.status_code": "200",
         "http.url": "http://0.0.0.0:8010/otel",
         "http.useragent": "python-requests/2.28.1",
         "language": "python",
         "runtime-id": "a29fc1c052394690a557d5d7a5207798",
         "span.kind": "server",
         "traceparent": "00-655535db000000001e5a01526309382a-a6d82d11c8b9f104-01",
         "tracestate": "dd=s:1;t.dm:-0"
       },
       "metrics": {
         "_dd.measured": 1,
         "_dd.top_level": 1,
         "_dd.tracer_kr": 1.0,
         "_sampling_priority_v1": 1,
         "process_id": 31660
       },
       "duration": 4600000,
       "start": 1722193256335520000
     },
        {
          "name": "flask.application",
          "service": "flask",
          "resource": "GET /otel",
          "trace_id": 0,
          "span_id": 3,
          "parent_id": 2,
          "type": "",
          "error": 0,
          "meta": {
            "_dd.base_service": "",
            "component": "flask",
            "flask.endpoint": "otel",
            "flask.url_rule": "/otel"
          },
          "duration": 4219000,
          "start": 1722193256335701000
        },
           {
             "name": "flask.try_trigger_before_first_request_functions",
             "service": "flask",
             "resource": "flask.try_trigger_before_first_request_functions",
             "trace_id": 0,
             "span_id": 5,
             "parent_id": 3,
             "type": "",
             "error": 0,
             "meta": {
               "_dd.base_service": "",
               "component": "flask"
             },
             "duration": 12000,
             "start": 1722193256335827000
           },
           {
             "name": "flask.preprocess_request",
             "service": "flask",
             "resource": "flask.preprocess_request",
             "trace_id": 0,
             "span_id": 6,
             "parent_id": 3,
             "type": "",
             "error": 0,
             "meta": {
               "_dd.base_service": "",
               "component": "flask"
             },
             "duration": 13000,
             "start": 1722193256335911000
           },
           {
             "name": "flask.dispatch_request",
             "service": "flask",
             "resource": "flask.dispatch_request",
             "trace_id": 0,
             "span_id": 7,
             "parent_id": 3,
             "type": "",
             "error": 0,
             "meta": {
               "_dd.base_service": "",
               "component": "flask"
             },
             "duration": 3646000,
             "start": 1722193256335970000
           },
              {
                "name": "tests.opentelemetry.flask_app.otel",
                "service": "flask",
                "resource": "/otel",
                "trace_id": 0,
                "span_id": 11,
                "parent_id": 7,
                "type": "",
                "error": 0,
                "meta": {
                  "_dd.base_service": "",
                  "component": "flask"
                },
                "duration": 3585000,
                "start": 1722193256336021000
              },
                 {
                   "name": "internal",
                   "service": "flask",
                   "resource": "otel-flask-manual-span",
                   "trace_id": 0,
                   "span_id": 12,
                   "parent_id": 11,
                   "type": "",
                   "error": 0,
                   "meta": {
                     "_dd.base_service": ""
                   },
                   "duration": 36000,
                   "start": 1722193256339552000
                 },
           {
             "name": "flask.process_response",
             "service": "flask",
             "resource": "flask.process_response",
             "trace_id": 0,
             "span_id": 8,
             "parent_id": 3,
             "type": "",
             "error": 0,
             "meta": {
               "_dd.base_service": "",
               "component": "flask"
             },
             "duration": 17000,
             "start": 1722193256339703000
           },
           {
             "name": "flask.do_teardown_request",
             "service": "flask",
             "resource": "flask.do_teardown_request",
             "trace_id": 0,
             "span_id": 9,
             "parent_id": 3,
             "type": "",
             "error": 0,
             "meta": {
               "_dd.base_service": "",
               "component": "flask"
             },
             "duration": 14000,
             "start": 1722193256339831000
           },
           {
             "name": "flask.do_teardown_appcontext",
             "service": "flask",
             "resource": "flask.do_teardown_appcontext",
             "trace_id": 0,
             "span_id": 10,
             "parent_id": 3,
             "type": "",
             "error": 0,
             "meta": {
               "_dd.base_service": "",
               "component": "flask"
             },
             "duration": 10000,
             "start": 1722193256339897000
           },
        {
          "name": "flask.response",
          "service": "flask",
          "resource": "flask.response",
          "trace_id": 0,
          "span_id": 4,
          "parent_id": 2,
          "type": "",
          "error": 0,
          "meta": {
            "_dd.base_service": "",
            "component": "flask"
          },
          "duration": 183000,
          "start": 1722193256339931000
        }]]
