This package makes it easy to instrument your Express/NodeJS application to send useful events to Honeycomb, a service for debugging your software in production.
- Node 10+
Features, bug fixes and other changes to beeline-nodejs
are gladly accepted. Please
open issues or a pull request with your change. Remember to add your name to the
CONTRIBUTORS file!
All contributions will be released under the Apache License 2.0.
Use npm version --no-git-tag-version
to update the version number using major
, minor
, patch
, or the prerelease variants premajor
, preminor
, or prepatch
. We use --no-git-tag-version
to avoid automatically tagging - tagging with the version automatically triggers a CI run that publishes, and we only want to do that upon merging the PR into main
.
After doing this, follow our usual instructions for the actual process of tagging and releasing the package.
If you don't have postgresql running locally, you can launch postgresql in docker.
docker run -p 5432:5432 -e POSTGRES_USER=root circleci/postgres:9-alpine-ram
Then run the tests using
PGUSER=root PGDATABASE=postgres npm test