{"id":19112383,"url":"https://github.com/actionhero/ah-sentry-plugin","last_synced_at":"2025-08-13T01:02:48.584Z","repository":{"id":66669262,"uuid":"287641847","full_name":"actionhero/ah-sentry-plugin","owner":"actionhero","description":"Record your errors with Sentry","archived":false,"fork":false,"pushed_at":"2021-05-10T15:47:58.000Z","size":1733,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-03T04:47:16.219Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/actionhero.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2020-08-14T23:20:42.000Z","updated_at":"2021-05-10T15:48:00.000Z","dependencies_parsed_at":"2023-11-14T23:31:52.097Z","dependency_job_id":null,"html_url":"https://github.com/actionhero/ah-sentry-plugin","commit_stats":{"total_commits":10,"total_committers":2,"mean_commits":5.0,"dds":"0.19999999999999996","last_synced_commit":"04b049cc9d341d9cea6371314a83ec514bc85ae8"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actionhero%2Fah-sentry-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actionhero%2Fah-sentry-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actionhero%2Fah-sentry-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/actionhero%2Fah-sentry-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/actionhero","download_url":"https://codeload.github.com/actionhero/ah-sentry-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240170070,"owners_count":19759140,"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":[],"created_at":"2024-11-09T04:32:55.785Z","updated_at":"2025-02-22T11:32:19.482Z","avatar_url":"https://github.com/actionhero.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## AH-SENTRY-PLUGIN\n\nA Plugin to report your Actionhero errors to Sentry.io\n\n![Sentry Screenshot](https://raw.githubusercontent.com/actionhero/ah-sentry-plugin/master/image.png)\n\n## Setup\n\n1. Install this plugin: `npm install ah-sentry-plugin --save`\n2. Add plugin to your project's `./src/config/plugins.ts`:\n\n```ts\nimport * as path from \"path\";\n\nexport const DEFAULT = {\n  plugins: () =\u003e {\n    return {\n      \"ah-sentry-plugin\": {\n        path: path.join(process.cwd(), \"node_modules\", \"ah-sentry-plugin\"),\n      },\n    };\n  },\n};\n```\n\n### Configuration\n\nA `./src/config/sentry.ts` will need to be created for your project. This will source the `SENTRY_DSN` environment variable into `config.sentry.dsn`. If you want to record APM transactions, also set `SENTRY_SAMPLE_RATE`\n\n```ts\nexport const DEFAULT = {\n  sentry: (config) =\u003e {\n    return {\n      dsn: process.env.SENTRY_DSN,\n      tracesSampleRate: parseFloat(process.env.SENTRY_SAMPLE_RATE),\n    };\n  },\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factionhero%2Fah-sentry-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Factionhero%2Fah-sentry-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Factionhero%2Fah-sentry-plugin/lists"}