Opbeat for Node.js
This is the official Node.js agent for Opbeat.
Opbeat provides instant performance insights, built for Node.js developers.
If you are looking for a module for your frontend JS applications, please see Opbeat for JS on GitHub.
Troubleshooting: If you encounter any problems setting up the Opbeat
agent, please see our troubleshooting guide.
Quick start
Install the module:
npm install opbeat --save
To get started just require and start the Opbeat agent at the very
top of your app's startup script. The Opbeat agent will be returned. The
agent will now instrument your Node.js application and track unhandled
exceptions automatically.
// Add this snippet to the VERY top of your app's startup script
var opbeat = require('opbeat').start({
appId: '...',
organizationId: '...',
secretToken: '...'
})
If you want to manually send an error to Opbeat, use the
captureError()
function:
opbeat.captureError(new Error('Ups, something broke'))
Documentation
Testing
The test suite expects the databases PostgreSQL, MySQL, MongoDB and
Redis to be present. The npm test
command will try and start them all
automatically before running the tests. This should work on OS X if the
databases are all installed using Homebrew.
To run the linter without running any tests, run npm run lint
. To
automatically fix linting errors run npm run lint-fix
.
License
BSD-2-Clause
Made with ♥️ and ☕️ by Opbeat and our community.
Current Tags
139 Versions
-
4.17.0
[deprecated]
...
7 years ago
-
4.16.0
[deprecated]
...
7 years ago
-
4.15.2
[deprecated]
...
7 years ago
-
4.15.1
[deprecated]
...
7 years ago
-
4.15.0
[deprecated]
...
7 years ago
-
4.14.2
[deprecated]
...
7 years ago
-
4.14.1
[deprecated]
...
7 years ago
-
4.14.0
[deprecated]
...
7 years ago
-
4.13.3
[deprecated]
...
7 years ago
-
4.13.2
[deprecated]
...
7 years ago
-
4.13.1
[deprecated]
...
8 years ago
-
4.13.0
[deprecated]
...
8 years ago
-
4.12.0
[deprecated]
...
8 years ago
-
4.11.4
[deprecated]
...
8 years ago
-
4.11.3
[deprecated]
...
8 years ago
-
3.9.1
[deprecated]
...
8 years ago
-
4.11.2
[deprecated]
...
8 years ago
-
4.11.1
[deprecated]
...
8 years ago
-
4.11.0
[deprecated]
...
8 years ago
-
4.10.0
[deprecated]
...
8 years ago
-
4.9.0
[deprecated]
...
8 years ago
-
4.8.0
[deprecated]
...
8 years ago
-
4.7.0
[deprecated]
...
8 years ago
-
4.6.0
[deprecated]
...
8 years ago
-
4.5.0
[deprecated]
...
8 years ago
-
4.4.0
[deprecated]
...
8 years ago
-
4.3.1
[deprecated]
...
8 years ago
-
4.3.0
[deprecated]
...
8 years ago
-
4.2.0
[deprecated]
...
8 years ago
-
4.1.0
[deprecated]
...
8 years ago
-
4.0.0
[deprecated]
...
8 years ago
-
3.21.1
[deprecated]
...
8 years ago
-
3.21.0
[deprecated]
...
8 years ago
-
3.20.0
[deprecated]
...
8 years ago
-
3.19.3
[deprecated]
...
8 years ago
-
3.19.2
[deprecated]
...
8 years ago
-
3.19.1
[deprecated]
...
8 years ago
-
3.19.0
[deprecated]
...
8 years ago
-
3.18.0
[deprecated]
...
8 years ago
-
3.17.2
[deprecated]
...
8 years ago
-
3.17.1
[deprecated]
...
8 years ago
-
3.17.0
[deprecated]
...
8 years ago
-
3.16.0
[deprecated]
...
8 years ago
-
3.15.0
[deprecated]
...
8 years ago
-
3.14.1
[deprecated]
...
8 years ago
-
3.14.0
[deprecated]
...
8 years ago
-
3.13.0
[deprecated]
...
8 years ago
-
3.12.0
[deprecated]
...
8 years ago
-
3.11.0
[deprecated]
...
8 years ago
-
3.10.0
[deprecated]
...
8 years ago
-
3.9.0
[deprecated]
...
8 years ago
-
3.8.2
[deprecated]
...
8 years ago
-
3.8.1
[deprecated]
...
8 years ago
-
3.8.0
[deprecated]
...
8 years ago
-
3.7.1
[deprecated]
...
8 years ago
-
3.7.0
[deprecated]
...
8 years ago
-
3.6.15
[deprecated]
...
8 years ago
-
3.6.14
[deprecated]
...
8 years ago
-
3.6.13
[deprecated]
...
8 years ago
-
3.6.12
[deprecated]
...
8 years ago
-
3.6.11
[deprecated]
...
8 years ago
-
3.6.10
[deprecated]
...
8 years ago
-
3.6.9
[deprecated]
...
8 years ago
-
3.6.8
[deprecated]
...
8 years ago
-
3.6.7
[deprecated]
...
9 years ago
-
3.6.6
[deprecated]
...
9 years ago
-
3.6.5
[deprecated]
...
9 years ago
-
3.6.4
[deprecated]
...
9 years ago
-
3.6.3
[deprecated]
...
9 years ago
-
3.6.2
[deprecated]
...
9 years ago
-
3.6.1
[deprecated]
...
9 years ago
-
3.6.0
[deprecated]
...
9 years ago
-
3.5.4
[deprecated]
...
9 years ago
-
3.5.3
[deprecated]
...
9 years ago
-
3.5.2
[deprecated]
...
9 years ago
-
3.5.1
[deprecated]
...
9 years ago
-
3.5.0
[deprecated]
...
9 years ago
-
3.4.3
[deprecated]
...
9 years ago
-
3.4.2
[deprecated]
...
9 years ago
-
3.4.1
[deprecated]
...
9 years ago
-
3.4.0
[deprecated]
...
9 years ago
-
3.3.0
[deprecated]
...
9 years ago
-
3.2.0
[deprecated]
...
9 years ago
-
3.1.4
[deprecated]
...
9 years ago
-
3.1.3
[deprecated]
...
9 years ago
-
3.1.2
[deprecated]
...
9 years ago
-
3.1.1
[deprecated]
...
9 years ago
-
3.1.0
[deprecated]
...
9 years ago
-
3.0.6
[deprecated]
...
9 years ago
-
3.0.5
[deprecated]
...
9 years ago
-
3.0.4
[deprecated]
...
9 years ago
-
3.0.3
[deprecated]
...
9 years ago
-
3.0.2
[deprecated]
...
9 years ago
-
3.0.1
[deprecated]
...
9 years ago
-
3.0.0
[deprecated]
...
9 years ago
-
2.0.0-beta.2
...
9 years ago
-
2.0.0-beta.1
...
9 years ago
-
1.7.0-beta.0
...
9 years ago
-
1.6.0
[deprecated]
...
9 years ago
-
1.5.1-beta.3
...
9 years ago
-
1.5.1-beta.2
...
9 years ago
-
1.5.1-beta.1
...
9 years ago
-
1.5.1-beta.0
...
9 years ago
-
1.5.0
[deprecated]
...
9 years ago
-
1.5.0-beta.3
...
9 years ago
-
1.4.2
[deprecated]
...
9 years ago
-
1.4.1
[deprecated]
...
9 years ago
-
1.5.0-beta.2
...
9 years ago
-
1.4.0
[deprecated]
...
9 years ago
-
1.4.0-beta.1
...
10 years ago
-
1.3.0
[deprecated]
...
10 years ago
-
1.2.0
[deprecated]
...
10 years ago
-
1.1.2
[deprecated]
...
10 years ago
-
1.1.1
[deprecated]
...
10 years ago
-
1.1.0
[deprecated]
...
10 years ago
-
1.0.8
[deprecated]
...
10 years ago
-
1.0.7
[deprecated]
...
10 years ago
-
1.0.6
[deprecated]
...
10 years ago
-
1.0.5
[deprecated]
...
10 years ago
-
1.0.4
[deprecated]
...
10 years ago
-
1.0.3
[deprecated]
...
10 years ago
-
1.0.2
[deprecated]
...
10 years ago
-
1.0.1
[deprecated]
...
10 years ago
-
1.0.0
[deprecated]
...
10 years ago
-
0.3.1
[deprecated]
...
11 years ago
-
0.2.11
[deprecated]
...
11 years ago
-
0.3.0
[deprecated]
...
11 years ago
-
0.2.10
[deprecated]
...
11 years ago
-
0.2.9
[deprecated]
...
11 years ago
-
0.2.8
[deprecated]
...
11 years ago
-
0.2.7
[deprecated]
...
11 years ago
-
0.2.5
[deprecated]
...
11 years ago
-
0.2.4
[deprecated]
...
12 years ago
-
0.2.3
[deprecated]
...
12 years ago
-
0.2.2
[deprecated]
...
12 years ago
-
0.2.1
[deprecated]
...
12 years ago
-
0.2.0
[deprecated]
...
12 years ago
-
0.1.1
[deprecated]
...
12 years ago
-
0.1.0
[deprecated]
...
12 years ago