[[
  {
    "name": "openai.request",
    "service": "tests.contrib.openai",
    "resource": "createCompletion",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "",
    "error": 1,
    "meta": {
      "_dd.p.dm": "-0",
      "_dd.p.tid": "68757a3100000000",
      "component": "openai",
      "error.message": "Missing required arguments; Expected either ('model' and 'prompt') or ('model', 'prompt' and 'stream') arguments to be given",
      "error.stack": "Traceback (most recent call last):\n  File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/ddtrace/contrib/internal/openai/patch.py\", line 264, in patched_endpoint\n    resp = func(*args, **kwargs)\n  File \"/Users/jacob.simpher/go/src/github.com/DataDog/dd-trace-py/.riot/venv_py31013_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_vcrpy_urllib3~126_pytest-asyncio0211_pytest-randomly_openai[embeddingsdatalib]100_pillow950_httpx0272/lib/python3.10/site-packages/openai/_utils/_utils.py\", line 298, in wrapper\n    raise TypeError(msg)\nTypeError: Missing required arguments; Expected either ('model' and 'prompt') or ('model', 'prompt' and 'stream') arguments to be given\n",
      "error.type": "builtins.TypeError",
      "language": "python",
      "openai.request.endpoint": "/v1/completions",
      "openai.request.method": "POST",
      "openai.request.provider": "OpenAI",
      "runtime-id": "cbc863d986aa4ec2b8a3437b7398c196"
    },
    "metrics": {
      "_dd.measured": 1,
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 88640
    },
    "duration": 1214000,
    "start": 1752529457420259000
  }]]
