3.0.0 • Published 2 years ago

@roarr/sentry v3.0.0

Weekly downloads
84
License
BSD-3-Clause
Repository
github
Last release
2 years ago

Roarr Sentry Integration

Travis build status Coveralls NPM version Canonical Code Style Twitter Follow

Sentry integration that adds Roarr logs to Sentry breadcrumbs.

Motivation

Sentry breadcrumbs allow one to trace down the root cause of an error. Breadcrumbs can include arbitrary data, including log messages. Roarr Sentry integration adds Roarr logs to Sentry breadcrumbs to give a richer context about every issue raised on Sentry.

Usage

import {
  getCurrentHub,
} from '@sentry/node';
import {
  createRoarrSentryIntegration,
} from '@roarr/sentry';

createSentry({
  integrations: [
    createRoarrSentryIntegration({
      addBreadcrumb: (breadcrumb) => {
        // Your implementation might vary
        const hub = getCurrentHub();

        hub.addBreadcrumb(breadcrumb);
      },
    }),
  ],
});
3.0.0

2 years ago

2.0.4

2 years ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago