Insttrumentation for Fastify web framework to be used with the Node agent. This module adds instrumentation for http verbs and routes.
This module is dependent on the newrelic nodejs agent, It can be installed and loaded independenly based on spacific versioning needs.
Newrelic agent:
npm install newrelic
fastify instrumentation module:
npm install @newrelic/fastify
// for install from github, add the following in package.json
"dependencies": {
"@newrelic/fastify": "github:newrelic-experimental/newrelic-javascript-fastify"
}
Add this module along with newrelic agent and you will see fastfiy routes and http get/put/etc.. show up as web transacations in the Newrelic UI.
// index.js
require('@newrelic/fastify');
New Relic hosts and moderates an online forum where customers can interact with New Relic employees as well as other customers to get help and share best practices. Like all official New Relic open source projects, there's a related Community topic in the New Relic Explorers Hub. You can find this project's topic/threads here:
We encourage your contributions to improve newrelic-javascript-fastify! Keep in mind when you submit your pull request, you'll need to sign the CLA via the click-through using CLA-Assistant. You only have to sign the CLA one time per project. If you have any questions, or to execute our corporate CLA, required if your contribution is on behalf of a company, please drop us an email at [email protected].
newrelic-javascript-fastify is licensed under the Apache 2.0 License