获取更多动态,关注公众号:黑客下午茶

Custom Integrations

使用以下格式在 JavaScript 中添加一个自定义集成:

Copied
// All integration that come with an SDK can be found on Sentry.Integrations object
// Custom integration must conform Integration interface: https://github.com/getsentry/sentry-javascript/blob/master/packages/types/src/integration.ts

Sentry.init({
  // ...

  integrations: [new MyAwesomeIntegration()],
});
You can edit this page on GitHub.