{"id":19700052,"url":"https://github.com/emmett-framework/sentry","last_synced_at":"2025-04-29T13:31:26.932Z","repository":{"id":57426255,"uuid":"292040751","full_name":"emmett-framework/sentry","owner":"emmett-framework","description":"Sentry extension for Emmett framework","archived":false,"fork":false,"pushed_at":"2025-03-30T15:29:44.000Z","size":49,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T17:25:54.031Z","etag":null,"topics":["emmett","monitoring","python","sentry"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emmett-framework.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["gi0baro"]}},"created_at":"2020-09-01T15:48:29.000Z","updated_at":"2025-03-30T15:28:22.000Z","dependencies_parsed_at":"2025-03-29T15:19:39.390Z","dependency_job_id":"4e24e4b9-24a5-4e2b-8f69-2b527f881ba6","html_url":"https://github.com/emmett-framework/sentry","commit_stats":{"total_commits":31,"total_committers":2,"mean_commits":15.5,"dds":0.4193548387096774,"last_synced_commit":"fd96df80d9c8dc23d931c906943052982090858c"},"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmett-framework%2Fsentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmett-framework%2Fsentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmett-framework%2Fsentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emmett-framework%2Fsentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emmett-framework","download_url":"https://codeload.github.com/emmett-framework/sentry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251509519,"owners_count":21600656,"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":["emmett","monitoring","python","sentry"],"created_at":"2024-11-11T21:02:40.023Z","updated_at":"2025-04-29T13:31:25.646Z","avatar_url":"https://github.com/emmett-framework.png","language":"Python","funding_links":["https://github.com/sponsors/gi0baro"],"categories":[],"sub_categories":[],"readme":"# Emmett-Sentry\n\nEmmett-Sentry is an [Emmett framework](https://emmett.sh) extension integrating [Sentry](https://sentry.io) monitoring platform.\n\nEmmett-Sentry is compatible both with Emmett and Emmett55.\n\n## Installation\n\nYou can install Emmett-Sentry using pip:\n\n    pip install emmett-sentry\n\nAnd add it to your Emmett application:\n\n```python\nfrom emmett_sentry import Sentry\n\nsentry = app.use_extension(Sentry)\n```\n\n## Configuration\n\nHere is the complete list of parameters of the extension configuration:\n\n| param | default | description |\n| --- | --- | --- |\n| dsn | | Sentry project's DSN |\n| environment | development | Application environment |\n| release | | Application release |\n| auto\\_load | `True` | Automatically inject extension on routes |\n| sample\\_rate | 1 | Error sampling rate |\n| integrations | | List of integrations to pass to the SDK |\n| enable\\_tracing | `False` | Enable tracing on routes |\n| tracing\\_sample\\_rate | | Traces sampling rate |\n| tracing\\_exclude\\_routes | | List of specific routes to exclude from tracing | \n| trace\\_websockets | `False` | Enable tracing on websocket routes |\n| trace\\_orm | `True` | Enable tracing on ORM queries |\n| trace\\_templates | `True` | Enable tracing on templates rendering |\n| trace\\_sessions | `True` | Enable tracing on sessions load/store |\n| trace\\_cache | `True` | Enable tracing on cache get/set |\n| trace\\_pipes | `False` | Enable tracing on pipes |\n| sdk\\_opts | `{}` | Additional configuration for the Sentry SDK |\n\n## Usage\n\nThe extension exposes two methods to manually track events:\n\n- exception\n- message\n\nYou call these methods directly within your code:\n\n```python\n# track an error\ntry:\n    1 / 0\nexcept Exception:\n    sentry.exception()\n\n# track a message\nsentry.message(\"some event\", level=\"info\")\n```\n\n## License\n\nEmmett-Sentry is released under BSD license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmett-framework%2Fsentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femmett-framework%2Fsentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femmett-framework%2Fsentry/lists"}