{"id":26452953,"url":"https://github.com/ember-cli-sentry/ember-cli-sentry","last_synced_at":"2025-04-09T06:13:24.996Z","repository":{"id":26838962,"uuid":"30298398","full_name":"ember-cli-sentry/ember-cli-sentry","owner":"ember-cli-sentry","description":"Error tracking via Sentry for Ember.js apps","archived":false,"fork":false,"pushed_at":"2022-12-01T09:52:22.000Z","size":1052,"stargazers_count":81,"open_issues_count":41,"forks_count":64,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-02T02:14:44.492Z","etag":null,"topics":["ember","ember-addon","raven","sentry"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/ember-cli-sentry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-04T12:47:31.000Z","updated_at":"2024-05-30T02:15:49.000Z","dependencies_parsed_at":"2023-01-14T07:30:15.597Z","dependency_job_id":null,"html_url":"https://github.com/ember-cli-sentry/ember-cli-sentry","commit_stats":null,"previous_names":[],"tags_count":31,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli-sentry%2Fember-cli-sentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli-sentry%2Fember-cli-sentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli-sentry%2Fember-cli-sentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ember-cli-sentry%2Fember-cli-sentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ember-cli-sentry","download_url":"https://codeload.github.com/ember-cli-sentry/ember-cli-sentry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247987285,"owners_count":21028895,"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":["ember","ember-addon","raven","sentry"],"created_at":"2025-03-18T18:40:24.682Z","updated_at":"2025-04-09T06:13:24.966Z","avatar_url":"https://github.com/ember-cli-sentry.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ember-cli-sentry\n===============================================================================\n\nAn ember-cli addon adding [Sentry](https://www.getsentry.com) support.\n\n---\n\n**⚠️ this repository isn't maintained any longer ⚠️**\n\n➡️ See [the official Sentry's Ember addon documentation](https://docs.sentry.io/platforms/javascript/guides/ember/).\n\n---\n\n\nRequirements\n-------------------------------------------------------------------------------\n\n- Node.js 6 or higher is required to use this addon\n- Ember CLI 2.13 or higher is required to use this addon\n\n\nInstall\n-------------------------------------------------------------------------------\n\n```\nember install ember-cli-sentry\n```\n\n\nUsage\n-------------------------------------------------------------------------------\n\n### TLDR\n\n```js\n// config/environment.js\n\nmodule.exports = function(environment) {\n  var ENV = {\n\n    /* config */\n\n    sentry: {\n      dsn: 'https://\u003cdummykey\u003e@app.getsentry.com/\u003cdummyproject\u003e'\n    }\n  }\n}\n```\n\n### Complete config\n\n```js\n// config/environment.js\n\nmodule.exports = function(environment) {\n  var ENV = {\n\n    /* config */\n\n    sentry: {\n      /**\n       * The only mandatory parameter.\n       *\n       * @type {String}\n       */\n      dsn: 'https://\u003cdummykey\u003e@app.getsentry.com/\u003cdummyproject\u003e',\n\n      /**\n       * Sets Raven.debug property when running `Raven.config`.\n       *\n       * @type {Boolean}\n       * @default true\n       */\n      debug: true,\n\n      /**\n       * If set to true, it will prevent Raven.js from being initialized.\n       * Errors and logs will be logged to the console (default) instead of\n       * being reported by Raven.\n       *\n       * @type {Boolean}\n       * @default undefined\n       */\n      development: false,\n      \n      /**\n       * Pass the environment to Raven.js\n       *\n       * @type {String}\n       * @default undefined\n       */\n      environment: environment,\n\n      /**\n       * If set to true, addon will try to have Ember.onerror\n       * and Ember.RSVP.on('error') captured by Raven.\n       *\n       * @type {Boolean}\n       * @default true\n       */\n      globalErrorCatching: true,\n\n      /**\n       * Raven.js option.\n       *\n       * @type {Array}\n       * @default []\n       */\n      includePaths: [],\n\n      /**\n       * Raven.js option.\n       *\n       * @type {Array}\n       * @default []\n       */\n      whitelistUrls: [],\n\n      /**\n       * Options to pass directly to Raven.js. Note: whitelistUrls and\n       * includePaths in this will take precedence\n       * over the above.\n       *\n       * @default {}\n       */\n      ravenOptions: {},\n    }\n  }\n}\n```\n\n### Content Security Policy\n\nTo allow Ravenjs to work properly, you need to add a couple of thing to the content security policy rules:\n\n```\n'script-src': \"'self' 'unsafe-inline' 'unsafe-eval'\",\n'img-src': \"data: app.getsentry.com\",\n'connect-src': \"'self' app.getsentry.com\"\n```\n\n### Meaningless stack traces?\n\nSee [this issue](https://github.com/ember-cli-sentry/ember-cli-sentry/issues/28).\n\n### Example\n\nThe dummy application in tests is a working example with a couple of logging here and there, and a default logger.\n\n\nLicence\n-------------------------------------------------------------------------------\n\n[MIT](https://raw.githubusercontent.com/ember-cli-sentry/ember-cli-sentry/master/LICENSE.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fember-cli-sentry%2Fember-cli-sentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fember-cli-sentry%2Fember-cli-sentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fember-cli-sentry%2Fember-cli-sentry/lists"}