gatsby-plugin-newrelic-test

1.2.5 • Public • Published

New Relic Experimental header

[Name of Project] [build badges go here when available]

[Brief description - what is the project and value does it provide? How often should users expect to get releases? How is versioning set up? Where does this project want to go?]

Installation

[Include a step-by-step procedure on how to get your code installed. Be sure to include any third-party dependencies that need to be installed separately]

Getting Started

[Simple steps to start working with the software similar to a "Hello World"] Build Command:

NEW_RELIC_HOME='./node_modules/gatsby-plugin-newrelic-test' gatsby build --open-tracing-config-file ./node_modules/gatsby-plugin-newrelic-test/zipkin-local.js --graphql-tracing",

or

export NEW_RELIC_HOME='./node_modules/gatsby-plugin-newrelic-test'

Usage

In gatsby-config.js, add the following code snippet to configure the plugin

    {
      resolve: "gatsby-plugin-newrelic-test",
      options: {
        NR_INGEST_KEY: "INSERT INGEST KEY",
        NR_LICENSE_KEY: "INSERT LICNESE KEY",
        SITE_NAME: "your-website-name",
        traces: {
          collectTraces: true,
          tags: {
            "daniel": "kim"
          },
        },
        logs: {
          collectLogs: true,
          tags: {
            "ruairi": "douglas"
          },
        },
        metrics: {
          collectMetrics: true,
          tags: {
            "ruairi": "douglas"
          },
        },
      },
    },

Building

[Optional - Include this section if users will need to follow specific instructions to build the software from source. Be sure to include any third party build dependencies that need to be installed separately. Remove this section if it's not needed.]

Testing

[Optional - Include instructions on how to run tests if we include tests with the codebase. Remove this section if it's not needed.]

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:

Add the url for the support thread here

Contributing

We encourage your contributions to improve [project name]! 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 opensource@newrelic.com.

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

[Project Name] is licensed under the Apache 2.0 License.

[If applicable: The [project name] 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.]

Readme

Keywords

none

Package Sidebar

Install

npm i gatsby-plugin-newrelic-test

Weekly Downloads

2

Version

1.2.5

License

ISC

Unpacked Size

69.6 kB

Total Files

19

Last publish

Collaborators

  • rudouglas