{"id":13650735,"url":"https://github.com/LuxChanLu/moleculer-sentry","last_synced_at":"2025-04-22T18:32:28.907Z","repository":{"id":42690131,"uuid":"179510353","full_name":"LuxChanLu/moleculer-sentry","owner":"LuxChanLu","description":"Moleculer metrics service for Sentry (https://sentry.io/)","archived":false,"fork":false,"pushed_at":"2022-12-28T19:14:45.000Z","size":248,"stargazers_count":11,"open_issues_count":2,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-22T07:52:52.980Z","etag":null,"topics":["javascript","moleculer","moleculerjs","sentry","sentry-io"],"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/LuxChanLu.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}},"created_at":"2019-04-04T14:09:13.000Z","updated_at":"2023-12-15T15:15:10.000Z","dependencies_parsed_at":"2023-01-31T07:15:43.632Z","dependency_job_id":null,"html_url":"https://github.com/LuxChanLu/moleculer-sentry","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuxChanLu%2Fmoleculer-sentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuxChanLu%2Fmoleculer-sentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuxChanLu%2Fmoleculer-sentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LuxChanLu%2Fmoleculer-sentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LuxChanLu","download_url":"https://codeload.github.com/LuxChanLu/moleculer-sentry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223903158,"owners_count":17222495,"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":["javascript","moleculer","moleculerjs","sentry","sentry-io"],"created_at":"2024-08-02T02:00:40.261Z","updated_at":"2024-11-10T01:31:05.078Z","avatar_url":"https://github.com/LuxChanLu.png","language":"JavaScript","funding_links":[],"categories":["Services"],"sub_categories":["Metrics and Tracing"],"readme":"# moleculer-sentry\n\n[![Build](https://github.com/LuxChanLu/moleculer-sentry/actions/workflows/test.yml/badge.svg)](https://github.com/LuxChanLu/moleculer-sentry/actions/workflows/test.yml)\n[![Coverage Status](https://coveralls.io/repos/github/LuxChanLu/moleculer-sentry/badge.svg?branch=master)](https://coveralls.io/github/LuxChanLu/moleculer-sentry?branch=master)\n[![Codacy Badge](https://app.codacy.com/project/badge/Grade/42a2b5016bde4f2197f28389e221c61d)](https://www.codacy.com/gh/LuxChanLu/moleculer-sentry/dashboard?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=LuxChanLu/moleculer-sentry\u0026amp;utm_campaign=Badge_Grade)\n[![Maintainability](https://api.codeclimate.com/v1/badges/8fbbbade0e11725f5c57/maintainability)](https://codeclimate.com/github/LuxChanLu/moleculer-sentry/maintainability)\n![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/npm/moleculer-sentry)\n[![Known Vulnerabilities](https://snyk.io/test/github/LuxChanLu/moleculer-sentry/badge.svg)](https://snyk.io/test/github/LuxChanLu/moleculer-sentry)\n[![Downloads](https://img.shields.io/npm/dm/moleculer-sentry.svg)](https://www.npmjs.com/package/moleculer-sentry)\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FLuxChanLu%2Fmoleculer-sentry.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FLuxChanLu%2Fmoleculer-sentry?ref=badge_shield)\n\n## Usage\n\nThis package uses Moleculer's tracing function to catch errors and send them to sentry. In order for it to function\nproperly, you need to enable tracing and use the \"Event\" exporter. To see how to set up tracing, please refer to\nthe [moleculer documentation](https://moleculer.services/docs/0.14/tracing.html#Event).\n\n```js\nconst SentryMixin = require('moleculer-sentry')\n\nmodule.exports = {\n  mixins: [SentryMixin],\n\n  settings: {\n    /** @type {Object?} Sentry configuration wrapper. */\n    sentry: {\n      /** @type {String} DSN given by sentry. */\n      dsn: null,\n      /** @type {String} Name of event fired by \"Event\" exported in tracing. */\n      tracingEventName: '$tracing.spans',\n      /** @type {Object} Additional options for `Sentry.init`. */\n      options: {},\n      /** @type {String?} Name of the meta containing user infos. */\n      userMetaKey: null,\n    },\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLuxChanLu%2Fmoleculer-sentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLuxChanLu%2Fmoleculer-sentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLuxChanLu%2Fmoleculer-sentry/lists"}