[[
  {
    "name": "flask.request",
    "service": "flask",
    "resource": "GET /executions/subcommunicatenoshell",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "web",
    "error": 0,
    "meta": {
      "_dd.appsec.event_rules.version": "rules_good",
      "_dd.appsec.waf.version": "1.30.0",
      "_dd.base_service": "",
      "_dd.p.dm": "-0",
      "_dd.p.tid": "654a694400000000",
      "_dd.runtime_family": "python",
      "component": "flask",
      "flask.endpoint": "run_subcommunicatenoshell",
      "flask.url_rule": "/executions/subcommunicatenoshell",
      "flask.version": "1.1.4",
      "http.client_ip": "127.0.0.1",
      "http.method": "GET",
      "http.response.headers.content-length": "1",
      "http.response.headers.content-type": "text/html; charset=utf-8",
      "http.route": "/executions/subcommunicatenoshell",
      "http.status_code": "200",
      "http.url": "http://0.0.0.0:8000/executions/subcommunicatenoshell",
      "http.useragent": "python-requests/2.28.2",
      "language": "python",
      "network.client.ip": "127.0.0.1",
      "runtime-id": "04211d70d79040758e002b54c8efce21",
      "span.kind": "server"
    },
    "metrics": {
      "_dd.appsec.enabled": 1.0,
      "_dd.appsec.event_rules.error_count": 0,
      "_dd.appsec.event_rules.loaded": 5,
      "_dd.appsec.waf.duration": 24.167,
      "_dd.appsec.waf.duration_ext": 306.12945556640625,
      "_dd.measured": 1,
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 45390
    },
    "duration": 20879667,
    "start": 1692710175111487553
  },
     {
       "name": "flask.application",
       "service": "flask",
       "resource": "GET /executions/subcommunicatenoshell",
       "trace_id": 0,
       "span_id": 2,
       "parent_id": 1,
       "type": "",
       "error": 0,
       "meta": {
         "_dd.base_service": "",
         "_dd.p.tid": "654a694400000000",
         "component": "flask",
         "flask.endpoint": "run_subcommunicatenoshell",
         "flask.url_rule": "/executions/subcommunicatenoshell"
       },
       "duration": 19193625,
       "start": 1692710175112334553
     },
        {
          "name": "flask.try_trigger_before_first_request_functions",
          "service": "flask",
          "resource": "flask.try_trigger_before_first_request_functions",
          "trace_id": 0,
          "span_id": 4,
          "parent_id": 2,
          "type": "",
          "error": 0,
          "meta": {
            "_dd.base_service": "",
            "_dd.p.tid": "654a694400000000",
            "component": "flask"
          },
          "duration": 30125,
          "start": 1692710175112517178
        },
        {
          "name": "flask.preprocess_request",
          "service": "flask",
          "resource": "flask.preprocess_request",
          "trace_id": 0,
          "span_id": 5,
          "parent_id": 2,
          "type": "",
          "error": 0,
          "meta": {
            "_dd.base_service": "",
            "_dd.p.tid": "654a694400000000",
            "component": "flask"
          },
          "duration": 47166,
          "start": 1692710175112663512
        },
        {
          "name": "flask.dispatch_request",
          "service": "flask",
          "resource": "flask.dispatch_request",
          "trace_id": 0,
          "span_id": 6,
          "parent_id": 2,
          "type": "",
          "error": 0,
          "meta": {
            "_dd.base_service": "",
            "_dd.p.tid": "654a694400000000",
            "component": "flask"
          },
          "duration": 17745167,
          "start": 1692710175112783595
        },
           {
             "name": "tests.contrib.flask.app.run_subcommunicatenoshell",
             "service": "flask",
             "resource": "/executions/subcommunicatenoshell",
             "trace_id": 0,
             "span_id": 10,
             "parent_id": 6,
             "type": "",
             "error": 0,
             "meta": {
               "_dd.base_service": "",
               "_dd.p.tid": "654a694400000000",
               "component": "flask"
             },
             "duration": 17671083,
             "start": 1692710175112840012
           },
              {
                "name": "command_execution",
                "service": "flask",
                "resource": "dir",
                "trace_id": 0,
                "span_id": 11,
                "parent_id": 10,
                "type": "system",
                "error": 0,
                "meta": {
                  "_dd.base_service": "",
                  "_dd.p.tid": "654a694400000000"
                },
                "duration": 97250,
                "start": 1692710175114706762
              },
              {
                "name": "command_execution",
                "service": "flask",
                "resource": "dir",
                "trace_id": 0,
                "span_id": 12,
                "parent_id": 10,
                "type": "system",
                "error": 0,
                "meta": {
                  "_dd.base_service": "",
                  "_dd.p.tid": "654a694400000000",
                  "cmd.exec": "['dir', '-li', '/']",
                  "cmd.exit_code": "0",
                  "component": "subprocess"
                },
                "duration": 2396834,
                "start": 1692710175127966803
              },
              {
                "name": "command_execution",
                "service": "flask",
                "resource": "dir",
                "trace_id": 0,
                "span_id": 13,
                "parent_id": 10,
                "type": "system",
                "error": 0,
                "meta": {
                  "_dd.base_service": "",
                  "_dd.p.tid": "654a694400000000",
                  "cmd.exec": "['dir', '-li', '/']",
                  "cmd.exit_code": "0",
                  "component": "subprocess"
                },
                "duration": 24500,
                "start": 1692710175130453970
              },
        {
          "name": "flask.process_response",
          "service": "flask",
          "resource": "flask.process_response",
          "trace_id": 0,
          "span_id": 7,
          "parent_id": 2,
          "type": "",
          "error": 0,
          "meta": {
            "_dd.base_service": "",
            "_dd.p.tid": "654a694400000000",
            "component": "flask"
          },
          "duration": 62166,
          "start": 1692710175130777512
        },
        {
          "name": "flask.do_teardown_request",
          "service": "flask",
          "resource": "flask.do_teardown_request",
          "trace_id": 0,
          "span_id": 8,
          "parent_id": 2,
          "type": "",
          "error": 0,
          "meta": {
            "_dd.base_service": "",
            "_dd.p.tid": "654a694400000000",
            "component": "flask"
          },
          "duration": 43208,
          "start": 1692710175131367262
        },
        {
          "name": "flask.do_teardown_appcontext",
          "service": "flask",
          "resource": "flask.do_teardown_appcontext",
          "trace_id": 0,
          "span_id": 9,
          "parent_id": 2,
          "type": "",
          "error": 0,
          "meta": {
            "_dd.base_service": "",
            "_dd.p.tid": "654a694400000000",
            "component": "flask"
          },
          "duration": 17916,
          "start": 1692710175131468762
        },
     {
       "name": "flask.response",
       "service": "flask",
       "resource": "flask.response",
       "trace_id": 0,
       "span_id": 3,
       "parent_id": 1,
       "type": "",
       "error": 0,
       "meta": {
         "_dd.base_service": "",
         "_dd.p.tid": "654a694400000000",
         "component": "flask"
       },
       "duration": 801333,
       "start": 1692710175131544095
     }]]
