Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sentry] Add support for python errors #125

Open
butschster opened this issue Apr 11, 2024 · 0 comments
Open

[Sentry] Add support for python errors #125

butschster opened this issue Apr 11, 2024 · 0 comments
Labels
enhancement New feature or request for contributors Extra attention is needed module:sentry
Milestone

Comments

@butschster
Copy link
Member

{
  "uuid": "018ece07-7cad-73fc-acd9-064e236772aa",
  "type": "sentry",
  "payload": {
    "level": "error",
    "logger": "server.log",
    "logentry": {
      "message": "'list' object has no attribute 'lower'",
      "params": []
    },
    "extra": {
      "sys.argv": [
        "main.py"
      ]
    },
    "event_id": "e3117b6df36f43228db559dac7252fab",
    "timestamp": "2024-04-11T16:39:40.766925Z",
    "contexts": {
      "trace": {
        "trace_id": "fe2be0de65804f92a0c06883b30c029a",
        "span_id": "a33d340a239f4921",
        "parent_span_id": null
      },
      "runtime": {
        "name": "CPython",
        "version": "3.11.9",
        "build": "3.11.9 (main, Apr  3 2024, 23:59:48) [GCC 12.2.0]"
      }
    },
    "transaction_info": [],
    "breadcrumbs": {
      "values": [
        {
          "type": "subprocess",
          "category": "subprocess",
          "message": "whois google.com",
          "data": {
            "thread.id": "140294918297280",
            "thread.name": "asyncio_0"
          },
          "timestamp": "2024-04-11T12:10:53.846827Z"
        },
        {
          "type": "log",
          "level": "info",
          "category": "server.log",
          "message": "Whois query was successfully.",
          "timestamp": "2024-04-11T12:10:53.980281Z",
          "data": []
        },
        {
          "type": "log",
          "level": "info",
          "category": "server.log",
          "message": "Whois query was successfully.",
          "timestamp": "2024-04-11T12:12:42.468207Z",
          "data": []
        },
        {
          "type": "log",
          "level": "info",
          "category": "server.log",
          "message": "Whois query was successfully.",
          "timestamp": "2024-04-11T12:12:42.882813Z",
          "data": []
        },
        {
          "type": "log",
          "level": "info",
          "category": "server.log",
          "message": "Whois query was successfully.",
          "timestamp": "2024-04-11T12:12:44.863861Z",
          "data": []
        },
        {
          "type": "log",
          "level": "info",
          "category": "server.log",
          "message": "Whois query was successfully.",
          "timestamp": "2024-04-11T12:12:45.566075Z",
          "data": []
        },
        {
          "type": "log",
          "level": "info",
          "category": "server.log",
          "message": "Whois query was successfully.",
          "timestamp": "2024-04-11T12:12:48.530692Z",
          "data": []
        },
        {
          "type": "log",
          "level": "info",
          "category": "server.log",
          "message": "Whois query was successfully.",
          "timestamp": "2024-04-11T12:12:48.887053Z",
          "data": []
        },
        {
          "type": "log",
          "level": "info",
          "category": "server.log",
          "message": "Whois query was successfully.",
          "timestamp": "2024-04-11T12:15:30.471174Z",
          "data": []
        },
        {
          "type": "log",
          "level": "info",
          "category": "server.log",
          "message": "Whois query was successfully.",
          "timestamp": "2024-04-11T16:39:39.766465Z",
          "data": []
        },
        {
          "type": "subprocess",
          "category": "subprocess",
          "message": "whois google.com",
          "data": {
            "thread.id": "140294918297280",
            "thread.name": "asyncio_0"
          },
          "timestamp": "2024-04-11T16:39:40.596625Z"
        }
      ]
    },
    "modules": {
      "types-protobuf": "4.24.0.20240408",
      "idna": "3.6",
      "urllib3": "2.2.1",
      "minio": "7.2.5",
      "json-log-formatter": "1.0",
      "ipwhois": "1.2.0",
      "dnspython": "2.0.0",
      "argon2-cffi": "23.1.0",
      "temporalio": "1.5.1",
      "argon2-cffi-bindings": "21.2.0",
      "python-dotenv": "1.0.1",
      "pycparser": "2.22",
      "certifi": "2024.2.2",
      "protobuf": "4.25.3",
      "dependency-injector": "4.41.0",
      "pycryptodome": "3.20.0",
      "six": "1.16.0",
      "python-whois": "0.9.3",
      "python-dateutil": "2.9.0.post0",
      "sentry-sdk": "1.44.1",
      "typing_extensions": "4.11.0",
      "cffi": "1.16.0",
      "pip": "24.0",
      "setuptools": "65.5.1",
      "wheel": "0.43.0"
    },
    "environment": "production",
    "server_name": "localhost",
    "sdk": {
      "name": "sentry.python",
      "version": "1.44.1",
      "packages": [
        {
          "name": "pypi:sentry-sdk",
          "version": "1.44.1"
        }
      ],
      "integrations": [
        "argv",
        "asyncio",
        "atexit",
        "dedupe",
        "excepthook",
        "logging",
        "modules",
        "stdlib",
        "threading"
      ]
    },
    "platform": "python"
  },
  "timestamp": 1712853580.973735,
  "project_id": null
}
@butschster butschster added enhancement New feature or request module:sentry labels Apr 11, 2024
@butschster butschster added this to the 1.0 milestone Apr 11, 2024
@butschster butschster added the for contributors Extra attention is needed label Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request for contributors Extra attention is needed module:sentry
Projects
Status: No status
Development

No branches or pull requests

1 participant