Instrumental Node.js Agent
Instrumental is an application monitoring platform built for developers who want a better understanding of their production software. Powerful tools, like the Instrumental Query Language, combined with an exploration-focused interface allow you to get real answers to complex questions, in real-time.
This agent supports custom metric monitoring for Node.js applications. It provides high-data reliability at high scale, without ever blocking your process or causing an exception.
npm install instrumental-agent
Package details on npmjs.com
You will need to set the API token. API tokens can be found in the project tokens documentation or in your user settings page. Use the 'enabled' flag to control if the agent actually reports. This is useful for not reporting in dev/test/staging/etc. environments.
var I = ;I;
Special (dis)connection handling
If you need to control the point at which the Agent disconnects from the Instrumental metric collectors, you can manually call
var I = ;I;/* do some work and record metrics */I;
Make a PR! Say roughly what you've changed, why you did so, and any ancillary data you have like gotchas, issues you suspect, awesomeness, etc.
Run the Tests and other Helpers
> npm install > npm test # this should be all green > npm run coverage # this should probably be like… as good as when you started > npm run jshint # ??? I guess no errors? not sure what this does
- Sign up for npmjs.com
- Pull latest master
- Merge feature branch(es) into master
- Increment version in repo
- Update CHANGELOG.md
- Commit "Release version vX.Y.Z"
- Push to GitHub
- Tag version:
git tag 'vX.Y.Z' && git push --tags
- Verify update on https://www.npmjs.com/package/instrumental-agent
- Refresh documentation on instrumentalapp.com
Cool Contributors 😎