Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
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.
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'))
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
.
BSD-2-Clause
Made with ♥️ and ☕️ by Opbeat and our community.
FAQs
The official Opbeat agent for Node.js
The npm package opbeat receives a total of 494 weekly downloads. As such, opbeat popularity was classified as not popular.
We found that opbeat demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.