[[
  {
    "name": "test_agent",
    "service": "tests.contrib.pydantic_ai",
    "resource": "Pydantic Agent",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "",
    "error": 1,
    "meta": {
      "_dd.p.dm": "-0",
      "_dd.p.tid": "685d864900000000",
      "error.message": "test error",
      "error.stack": "Traceback (most recent call last):\n  File \"/Users/nicole.cybul/go/src/github.com/DataDog/dd-trace-py/tests/contrib/pydantic_ai/test_pydantic_ai.py\", line 40, in test_agent_iter_error\n    raise Exception(\"test error\")\nException: test error\n",
      "error.type": "builtins.Exception",
      "language": "python",
      "pydantic_ai.request.model": "gpt-4o",
      "pydantic_ai.request.provider": "openai",
      "runtime-id": "95c42dea96174c31b772098e7b279498"
    },
    "metrics": {
      "_dd.measured": 1,
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 74933
    },
    "duration": 884000,
    "start": 1750959689643817000
  }]]
