Skip to content

Commit

Permalink
chore: Revert PR #222 (fix: #138 New APM Bridge Setup) (#235)
Browse files Browse the repository at this point in the history
* Revert "fix: #138 New APM Bridge Setup (#222)"

This reverts commit c322f01.

* docs: add webpack info in README
  • Loading branch information
miquelbeltran authored May 27, 2024
1 parent f5c1307 commit 188d9c9
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 1,637 deletions.
18 changes: 4 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -492,20 +492,6 @@ const raygunClient = new raygun.Client().init({

Including column numbers can enable source mapping if you have minified or transpiled code in your stack traces.

### APM Bridge Setup

Raygun4Node can be used in conjunction with Raygun APM for Node.js.

Follow the instructions on https://raygun.com/platform/apm to set up your application.

Then, call to `setApmBridge()` to connect both packages:

```js
raygunClient.setApmBridge(require("raygun-apm/lib/src/crash_reporting"));
```

When this package sends an error report to Raygun, it will notify automatically the Raygun APM package, and attach a Correlation ID to the error sent.

### Source maps

Raygun supports source mapping for Node.js stacktraces which include column numbers. To enable this feature you will need to upload your map files to the JavaScript Source Map Center and enable the processing of Node.js error stacktraces.
Expand Down Expand Up @@ -564,6 +550,10 @@ curl

All requests use the same authentication methods as the upload call (Basic Authentication and Token Authentication).

### Known Issues

- Node will show compilation warnings when using Raygun4Node in Webpack applications.

### Examples
View a screencast on creating an app with Node.js and Express.js, then hooking up the error handling and sending them at [https://raygun.com/blog/2013/07/video-nodejs-error-handling-with-raygun/](https://raygun.com/blog/2013/07/video-nodejs-error-handling-with-raygun/)

Expand Down
33 changes: 0 additions & 33 deletions examples/apm-sample/.gitignore

This file was deleted.

23 changes: 0 additions & 23 deletions examples/apm-sample/README.md

This file was deleted.

25 changes: 0 additions & 25 deletions examples/apm-sample/app.js

This file was deleted.

5 changes: 0 additions & 5 deletions examples/apm-sample/config/default.json

This file was deleted.

5 changes: 0 additions & 5 deletions examples/apm-sample/config/production.json

This file was deleted.

Loading

0 comments on commit 188d9c9

Please sign in to comment.