Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/newrelic-experimental/newrelic-javascript-fastify


https://github.com/newrelic-experimental/newrelic-javascript-fastify

fastify javascript nrlabs nrlabs-odp

Last synced: about 20 hours ago
JSON representation

Awesome Lists containing this project

README

        

[![Experimental Project header](https://github.com/newrelic/opensource-website/raw/master/src/images/categories/Experimental.png)](https://opensource.newrelic.com/oss-category/#experimental)

# New Relic Javascript Instrumentation for Fastify

Insttrumentation for Fastify web framework to be used with the
[Node agent](https://github.com/newrelic/node-newrelic). This module adds instrumentation for http verbs and routes.

## Installation

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"
}
```

## Getting Started

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');
```

## Support

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:

## Contributing
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].

## License
newrelic-javascript-fastify is licensed under the [Apache 2.0](http://apache.org/licenses/LICENSE-2.0.txt) License