Giter Site home page Giter Site logo

node-newrelic-koa's Introduction

Community Project header

New Relic Koa Instrumentation koa Instrumentation CI

New Relic's official Koa framework instrumentation for use with the New Relic Node.js Agent.

This module is a dependency of the agent and will be installed by default upon installing the agent.

Installation and Getting Started

Typically, most users will use the version auto-installed by the agent. You can see agent install instructions here.

In some cases, installing a specific version may be ideal. For example: new features or major changes may be released via major version update to this module, prior to inclusion in the main New Relic Node.js Agent.

npm install @newrelic/koa
// index.js
require('@newrelic/koa')

For more information, please see the agent installation guide.

Our API and developer documentation for writing instrumentation will be of help. We particularly recommend the tutorials and various "shim" API documentation.

Usage

In addition to the Koa framework, we support additional specific routing modules.

Supported Routing Modules

  • koa-router
  • koa-route

For more information, please see the agent compatibility and requirements.

Testing

The module includes a suite of unit and functional tests which should be used to verify your changes don't break existing functionality.

All tests are stored in tests/ and are written using Tap with the extension .tap.js.

To run the full suite, run: npm test.

Individual test scripts include:

npm run unit
npm run versioned

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: https://discuss.newrelic.com/c/support-products-agents/node-js-agent/.

Contributing

We encourage your contributions to improve New Relic Koa Instrumentation! 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

New Relic Koa Instrumentation is licensed under the Apache 2.0 License.

New Relic Koa Instrumentation also uses source code from third-party libraries. You can find full details on which libraries are used and the terms under which they are licensed in the third-party notices document.

node-newrelic-koa's People

Contributors

astormnewrelic avatar carlo-808 avatar cesine avatar lykkin avatar michaelgoin avatar nataliewolfe avatar nijotz avatar psvet avatar shumsky avatar zacanger avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.