[[
  {
    "name": "postgres.connect",
    "service": "postgres",
    "resource": "postgres.connect",
    "trace_id": 0,
    "span_id": 1,
    "parent_id": 0,
    "type": "sql",
    "error": 1,
    "meta": {
      "_dd.base_service": "tests.contrib.asyncpg",
      "_dd.p.dm": "-0",
      "_dd.p.tid": "654a694400000000",
      "component": "asyncpg",
      "db.system": "postgresql",
      "error.message": "Multiple exceptions: [Errno 111] Connect call failed ('::1', 5433, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 5433)",
      "error.stack": "Traceback (most recent call last):\n  File \"/root/project/ddtrace/contrib/asyncpg/patch.py\", line 94, in _traced_connect\n    conn = _TracedConnection(await func(*args, **kwargs), pin)\n  File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_asyncpg~0220/lib/python3.9/site-packages/asyncpg/connection.py\", line 1980, in connect\n    return await connect_utils._connect(\n  File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_asyncpg~0220/lib/python3.9/site-packages/asyncpg/connect_utils.py\", line 677, in _connect\n    raise last_error\n  File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_asyncpg~0220/lib/python3.9/site-packages/asyncpg/connect_utils.py\", line 661, in _connect\n    con = await _connect_addr(\n  File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_asyncpg~0220/lib/python3.9/site-packages/asyncpg/connect_utils.py\", line 634, in _connect_addr\n    tr, pr = await compat.wait_for(connector, timeout=timeout)\n  File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_asyncpg~0220/lib/python3.9/site-packages/asyncpg/compat.py\", line 103, in wait_for\n    return await asyncio.wait_for(fut, timeout)\n  File \"/root/.pyenv/versions/3.9.16/lib/python3.9/asyncio/tasks.py\", line 479, in wait_for\n    return fut.result()\n  File \"/root/project/.riot/venv_py3916_mock_pytest_pytest-mock_coverage_pytest-cov_opentracing_hypothesis6451_pytest-asyncio_asyncpg~0220/lib/python3.9/site-packages/asyncpg/connect_utils.py\", line 544, in _create_ssl_connection\n    tr, pr = await loop.create_connection(\n  File \"/root/.pyenv/versions/3.9.16/lib/python3.9/asyncio/base_events.py\", line 1073, in create_connection\n    raise OSError('Multiple exceptions: {}'.format(\nOSError: Multiple exceptions: [Errno 111] Connect call failed ('::1', 5433, 0, 0), [Errno 111] Connect call failed ('127.0.0.1', 5433)\n",
      "error.type": "builtins.OSError",
      "language": "python",
      "runtime-id": "ed7e8c2b2f2941df82375dfe28f4da8c",
      "span.kind": "client"
    },
    "metrics": {
      "_dd.top_level": 1,
      "_dd.tracer_kr": 1.0,
      "_sampling_priority_v1": 1,
      "process_id": 25714
    },
    "duration": 4931917,
    "start": 1692706986460845964
  }]]
