[[
  {
    "name": "rq.send",
    "service": "ddtrace_subprocess_dir",
    "resource": "tests.contrib.rq.jobs.JobClass.__call__",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "worker",
    "error": 0,
    "meta": {
      "_dd.p.dm": "-0",
      "_dd.p.tid": "654a694400000000",
      "component": "rq",
      "job.func_name": "__call__",
      "job.id": "209c71fa-052d-4648-bb5d-2900ec537e33",
      "language": "python",
      "queue.name": "q",
      "runtime-id": "732c2084ef6444aba4bcea2923bec38b",
      "span.kind": "producer"
    },
    "metrics": {
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 55847
    },
    "duration": 2227251,
    "start": 1691167592960472625
  },
     {
       "name": "rq.worker.perform_job",
       "service": "ddtrace_subprocess_dir",
       "resource": "__call__",
       "trace_id": 0,
       "span_id": 2,
       "parent_id": 1,
       "type": "worker",
       "error": 1,
       "meta": {
         "_dd.p.dm": "-0",
         "_dd.p.tid": "654a694400000000",
         "component": "rq",
         "job.id": "209c71fa-052d-4648-bb5d-2900ec537e33",
         "job.origin": "q",
         "job.status": "failed",
         "language": "python",
         "runtime-id": "732c2084ef6444aba4bcea2923bec38b",
         "span.kind": "consumer",
         "traceparent": "00-0000000000000000dd11369e64bf7a45-6bb6a077472f810e-01",
         "tracestate": "dd=s:1;t.dm:-0"
       },
       "metrics": {
         "_dd.top_level": 1,
         "_dd.tracer_kr": 1.0,
         "_sampling_priority_v1": 1,
         "process_id": 55847
       },
       "duration": 1802309,
       "start": 1691167592977209362
     },
        {
          "name": "rq.job.perform",
          "service": "ddtrace_subprocess_dir",
          "resource": "__call__",
          "trace_id": 0,
          "span_id": 3,
          "parent_id": 2,
          "type": "",
          "error": 1,
          "meta": {
            "_dd.p.tid": "654a694400000000",
            "component": "rq",
            "error.message": "__call__() got an unexpected keyword argument 'key'",
            "error.stack": "Traceback (most recent call last):\n  File \"/root/project/ddtrace/contrib/rq/__init__.py\", line 215, in traced_job_perform\n    return func(*args, **kwargs)\n  File \"/root/project/.riot/venv_py3716_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~180_click712/lib/python3.7/site-packages/rq/job.py\", line 709, in perform\n    self._result = self._execute()\n  File \"/root/project/.riot/venv_py3716_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_rq~180_click712/lib/python3.7/site-packages/rq/job.py\", line 732, in _execute\n    result = self.func(*self.args, **self.kwargs)\nTypeError: __call__() got an unexpected keyword argument 'key'\n",
            "error.type": "builtins.TypeError",
            "job.id": "209c71fa-052d-4648-bb5d-2900ec537e33"
          },
          "duration": 343910,
          "start": 1691167592977596195
        }],
[
  {
    "name": "rq.process",
    "service": "ddtrace_subprocess_dir",
    "resource": "rq.process",
    "trace_id": 1,
    "span_id": 1,
    "parent_id": 0,
    "type": "",
    "error": 0,
    "meta": {
      "_dd.p.dm": "-0",
      "_dd.p.tid": "654a694400000000",
      "component": "rq",
      "job.id": "abc",
      "language": "python",
      "runtime-id": "732c2084ef6444aba4bcea2923bec38b"
    },
    "metrics": {
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 55847
    },
    "duration": 412315,
    "start": 1691167592973027977
  }]]
