Integrate New Relic One with GitHub (either public or private enterprise instance) to bring more context to your entities.
You have the ability to associate any service or application with its GitHub repository as a one-time action, and then you can quickly see that application’s README file, as well as a list of most active source code contributors. These are obviously a great way to find “your people” and other inspiring New Relic One projects!
Clone This Nerdpack
What do you need to make this work?
- A GitHub (either public or private enterprise instance) organization and access to New Relic One.
- The ability to generate a personal access token in GitHub.
Using GitHub Personal Access Tokens
Integration with GitHub requires the user to create or use a private access token as a one-time setup step. New Relic will store that access token, but the user can easily delete it from New Relic’s storage at any time.
Every user must provide their own GitHub personal access token to increase security and allow the user to see only the repositories they have access to. The GitHub personal access token should be
read only and scoped to this application only (i.e. we don’t recommend re-using a personal access token).
Personal access tokens are stored with New Relic One’s
UserStorage data is accessible only to the user account and
Nerdpack which created it. The data is encrypted in transmission, but is not encrypted at rest (within the underlying database). Finally, it’s important to note that
UserStorage data may be accessible to a New Relic employee via an administrative privilege in the platform.
Clone this repository and run the following scripts:
git clone https://github.com/newrelic/nr1-github.git cd nr1-github nr1 nerdpack:uuid -gf npm install npm start
Deploy this Nerdpack
Open a command prompt in the nerdpack’s directory and run the following commands.
# this is to create a new uuid for the nerdpack so that you can deploy it to your account nr1 nerdpack:uuid -g [--profile=your_profile_name] # to see a list of APIkeys / profiles available in your development environment, run nr1 credentials:list nr1 nerdpack:publish [--profile=your_profile_name] nr1 nerdpack:deploy [-c [DEV|BETA|STABLE]] [--profile=your_profile_name] nr1 nerdpack:subscribe [-c [DEV|BETA|STABLE]] [--profile=your_profile_name]
Visit https://one.newrelic.com, navigate to the Nerdpack, and