{"id":27700361,"url":"https://github.com/alexdemure/gadfastsentry","last_synced_at":"2026-05-16T06:38:24.007Z","repository":{"id":289432430,"uuid":"971200435","full_name":"AlexDemure/gadfastsentry","owner":"AlexDemure","description":"A production-ready sentry configuration module for Python.","archived":false,"fork":false,"pushed_at":"2025-04-23T08:32:21.000Z","size":1,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"production","last_synced_at":"2025-04-23T08:52:57.884Z","etag":null,"topics":["fastapi-sentry","python-sentry","sentry"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AlexDemure.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-23T07:01:27.000Z","updated_at":"2025-04-23T08:34:55.000Z","dependencies_parsed_at":"2025-04-23T09:03:05.741Z","dependency_job_id":null,"html_url":"https://github.com/AlexDemure/gadfastsentry","commit_stats":null,"previous_names":["alexdemure/gadfastsentry"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexDemure%2Fgadfastsentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexDemure%2Fgadfastsentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexDemure%2Fgadfastsentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexDemure%2Fgadfastsentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexDemure","download_url":"https://codeload.github.com/AlexDemure/gadfastsentry/tar.gz/refs/heads/production","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250878763,"owners_count":21501741,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fastapi-sentry","python-sentry","sentry"],"created_at":"2025-04-25T18:59:29.975Z","updated_at":"2026-05-16T06:38:23.771Z","avatar_url":"https://github.com/AlexDemure.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/AlexDemure/gadfastsentry\"\u003e\n    \u003ca href=\"https://ibb.co/hJvgPB9K\"\u003e\u003cimg src=\"https://i.ibb.co/0R3ngC2f/logo.png\" alt=\"logo\" border=\"0\"\u003e\u003c/a\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  A production-ready sentry configuration module for Python.\n\u003c/p\u003e\n\n---\n\n### Installation\n\n```\npip install gadfastsentry\n```\n\n### Usage\n\n```python\nimport logging\n\nimport sentry_sdk\nfrom fastapi import FastAPI\nfrom fastapi import Request\nfrom gadfastsentry import Sentry\n\nSentry(dsn=\"***\", env=\"production\")\n\napp = FastAPI()\n\n\n@app.middleware(\"http\")\nasync def inject_trace(request: Request, call_next):\n    sentry_sdk.set_extra(\"trace_id\", \"12345\")\n    return await call_next(request)\n\n\n@app.get(\"/sentry-debug\")\nasync def trigger_error():\n    try:\n        division_by_zero = 1 / 0\n    except Exception as e:\n        logging.error(str(e), exc_info=True)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexdemure%2Fgadfastsentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexdemure%2Fgadfastsentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexdemure%2Fgadfastsentry/lists"}