Giter Site home page Giter Site logo

newrelic-experimental / node-newrelic-nextjs Goto Github PK

View Code? Open in Web Editor NEW
2.0 11.0 0.0 73 KB

Instrumentation for next.js framework

License: Apache License 2.0

JavaScript 100.00%
nrlabs instrumentation nodejs framework nextjs node-framework observability-data nrlabs-odp next

node-newrelic-nextjs's Introduction

New Relic Experimental header

@newrelic-experimental/nextjs

New Relic transaction tracing instrumentation for Next.js

Installation

  1. Starting from the root directory of your Next.js application, the directory where your package.json file resides
  2. Install and configure the New Relic Node Agent
    • NOTE: ignore the Add require('newrelic'); as the first line of your app's main module. step, we'll cover that later.
  3. Install the New Relic Next.js instrumentation package
    • npm install git+https://github.com/newrelic-experimental/node-newrelic-nextjs.git for HTTP, or
    • npm install git+ssh://[email protected]:newrelic-experimental/node-newrelic-nextjs.git for SSH
  4. Now we install both the New Relic Node Agent and the Next.js instrumentation into Next.js which is the actual Node application by adding this line
    require('newrelic'); require('@newrelic-experimental/nextjs');
    
    to node_modules/next/dist/bin/next inserted as line 2
  5. Run your application as usual.

Support

New Relic has open-sourced this project. This project is provided AS-IS WITHOUT WARRANTY OR DEDICATED SUPPORT. Issues and contributions should be reported to the project here on GitHub.

We encourage you to bring your experiences and questions to the Explorers Hub where our community members collaborate on solutions and new ideas.

Contributing

We encourage your contributions to improve @newrelic-experimental/nextjs 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].

A note about vulnerabilities

As noted in our security policy, New Relic is committed to the privacy and security of our customers and their data. We believe that providing coordinated disclosure by security researchers and engaging with the security community are important means to achieve our security goals.

If you believe you have found a security vulnerability in this project or any of New Relic's products or websites, we welcome and greatly appreciate you reporting it to New Relic through HackerOne.

License

@newrelic-experimental/nextjs is licensed under the Apache 2.0 License.

node-newrelic-nextjs's People

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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.