Your data. Anywhere you go.

New Relic for iOS or Android


Download on the App Store    Android App on Google play


New Relic Insights App for iOS


Download on the App Store


Learn more

Close icon

GitHub environment in new relic


#1

Hi Ryan,
I’m trying to integrate GitHub in one.newrelic using the guidelines. I’m not getting any error when following the steps but unable see in browser application. I’m cloning the sample repo provided in this link. Does it require my GitHub access token to store in new relic? If so, Can you please guide me to pass the GitHub access token to one.newrelic.

Thanks
Meghana


#2

Hey @meghana.reddy - As far as I know - you do need to configure your Github URL in the CONFIGURE_ME.js file that is included in the repo you download.

Following that, you can deploy the nerdpack to your account using commands below;

nr1 nerdpack:publish --force
nr1 nerdpack:deploy -c STABLE
nr1 nerdpack:subscribe -c STABLE

That’ll push the nerdpack to your account, so you won’t need to serve it locally.

Then, in the nerdpack UI you’ll be prompted for a github personal access token.


#3

Hi @RyanVeitch,

Thank you for sharing the information. I’m able to successfully deploy and see GitHub repo in browser entity. I have passed my token in the UI and then it gives blank screen. Can you help me out where I have went wrong ?

Thanks
Meghana


made this topic public #4

#5

Hi @meghana.reddy - I’m not so sure on that - I’m going to loop in @jsius & @joelworrall - who may be able to help out.


#6

@meghana.reddy what’s in your browser console output?


#7


#8

Thanks for that @meghana.reddy - That’s showing us how you have deployed the Nerdpack to your account.

Could you share the console output from your browser instead though?
See how to get to the console here: For Chrome, and here for Firefox.


#9


#10

@meghana.reddy, I need to verify two things:

  1. Did you set the GITHUB_URL in this file? https://github.com/newrelic/nr1-github/blob/master/CONFIGURE_ME.js
  2. Is the Browser application you’re trying access in the same account hierarchy as the account/APIkey under which the Nerdpack was deployed?

#11

Also, it looks like the GITHUB_URL might have a space in it? That’s a potential bug that the code should account for… and I’m going to PR that project to that end.


#12

@meghana.reddy, I believe I’ve fixed the issue. We have a PR we’re going to merge in the next day or so to address. https://github.com/newrelic/nr1-github/pull/17


#13

Thanks for sharing the information. After merging PR i will clone and run it locally and test it. Will let you know the updates.


#14

Hi @joelworrall, when can I expect the PR merged code in GitHub?


#15

The PR has been merged. Hope it helps.