{"id":13705535,"url":"https://github.com/serathius/sanic-sentry","last_synced_at":"2025-03-22T03:31:10.513Z","repository":{"id":55154265,"uuid":"102954635","full_name":"serathius/sanic-sentry","owner":"serathius","description":"Sentry integration to sanic web server","archived":false,"fork":false,"pushed_at":"2021-01-06T14:18:59.000Z","size":41,"stargazers_count":30,"open_issues_count":1,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-18T07:23:35.598Z","etag":null,"topics":["raven","sanic","sentry"],"latest_commit_sha":null,"homepage":null,"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/serathius.png","metadata":{"files":{"readme":"README.rst","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}},"created_at":"2017-09-09T12:53:42.000Z","updated_at":"2024-08-01T04:38:22.000Z","dependencies_parsed_at":"2022-08-14T13:40:40.724Z","dependency_job_id":null,"html_url":"https://github.com/serathius/sanic-sentry","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serathius%2Fsanic-sentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serathius%2Fsanic-sentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serathius%2Fsanic-sentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/serathius%2Fsanic-sentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/serathius","download_url":"https://codeload.github.com/serathius/sanic-sentry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244902929,"owners_count":20529114,"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":["raven","sanic","sentry"],"created_at":"2024-08-02T22:00:43.097Z","updated_at":"2025-03-22T03:31:10.237Z","avatar_url":"https://github.com/serathius.png","language":"Python","funding_links":[],"categories":["Extensions"],"sub_categories":["Monitoring"],"readme":"Sanic-Sentry\n============\n\nSanic-Sentry -- Sentry integration to sanic web server.\n\n.. image:: https://badge.fury.io/py/sanic-sentry.svg\n    :target: https://badge.fury.io/py/sanic-sentry\n\n.. image:: https://travis-ci.org/serathius/sanic-sentry.svg?branch=master\n    :target: https://travis-ci.org/serathius/sanic-sentry\n\n.. image:: https://codecov.io/gh/serathius/sanic-sentry/branch/master/graph/badge.svg\n    :target: https://codecov.io/gh/serathius/sanic-sentry\n\nRequirements\n------------\n\n- python \u003e= 3.6\n\nInstallation\n------------\n\n**Sanic-Sentry** should be installed using pip: ::\n\n    pip install sanic-sentry\n\nUsage\n-----\n\n\nTo initialize plugin you can pass 'app' to __init__:\n\n.. code:: python\n\n  \u003e\u003e\u003e from sanic import Sanic\n  \u003e\u003e\u003e from sanic_sentry import SanicSentry\n  \u003e\u003e\u003e app = Sanic(__name__)\n  \u003e\u003e\u003e plugin = SanicSentry(app)\n\nOr use `init_app` to reverse dependency:\n\n.. code:: python\n\n  \u003e\u003e\u003e plugin = SanicSentry()\n  \u003e\u003e\u003e plugin.init_app(app)\n\n*Optional parameters:*\n\n**SENTRY_DSN**  - Sentry DSN for your application:\n\nIf not set raven will fallback to SENTRY_DSN environment variable. Not setting either will disable raven.\n\n.. code:: python\n\n  \u003e\u003e\u003e app.config['SENTRY_DSN'] = 'http://public:secret@example.com/1'\n\n**SENTRY_PARAMS**  - Configure advanced parameters for sentry:\n\nExplained in https://docs.sentry.io/clients/python/advanced/\n\n.. code:: python\n\n  \u003e\u003e\u003e app.config['SENTRY_PARAMS'] = {\n  ...     \"release\": \"myapp_v0.4\",\n  ...     \"environment\": \"production\",\n  ... }\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserathius%2Fsanic-sentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fserathius%2Fsanic-sentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fserathius%2Fsanic-sentry/lists"}