New Relic

Real-time performance insights into your software, infrastructure & customer experience

Integrate the New Relic API with the GitHub API

Setup the New Relic API trigger to run a workflow which integrates with the GitHub API. Pipedream's integration platform allows you to integrate New Relic and GitHub remarkably fast. Free for developers.

Create Issue with GitHub API on New Alert from New Relic API
New Relic + GitHub
 
Try it
Create Issue with GitHub API on New Deployment from New Relic API
New Relic + GitHub
 
Try it
Search Issues and Pull Requests with GitHub API on New Alert from New Relic API
New Relic + GitHub
 
Try it
Search Issues and Pull Requests with GitHub API on New Deployment from New Relic API
New Relic + GitHub
 
Try it
Create Branch with GitHub API on New Alert from New Relic API
New Relic + GitHub
 
Try it
New Alert from the New Relic API

Emit new event when a new alert is created.

 
Try it
New Deployment from the New Relic API

Emit new event when a new deployment is created.

 
Try it
New Branch (Instant) from the GitHub API

Emit new events when a new branch is created

 
Try it
New Card in Column (Classic Projects) from the GitHub API

Emit new event when a (classic) project card is created or moved to a specific column. For Projects V2 use New Issue with Status trigger. More information here

 
Try it
New Collaborator (Instant) from the GitHub API

Emit new events when collaborators are added to a repo

 
Try it
Create Issue with the GitHub API

Create a new issue in a Gihub repo. See docs here

 
Try it
Search Issues and Pull Requests with the GitHub API

Find issues and pull requests by state and keyword. See docs here

 
Try it
New Deployment with the New Relic API

Create a new deployment mark. See the docs here

 
Try it
Create Branch with the GitHub API

Create a new branch in a Github repo. See docs here

 
Try it
Create Issue Comment with the GitHub API

Create a new comment in a issue. See docs here

 
Try it

Overview of New Relic

New Relic's API enables you to do the following:

  • Automate your New Relic account and data
  • Retrieve data from New Relic for use in other tools
  • Build New Relic-powered tools and applications

Here are some examples of what you can build using the New Relic API:

  • A custom dashboard to display the data that matters most to you
  • An alerting system that notifies you when your app is experiencing problems
  • A tool to help you track your New Relic bill and usage
  • An application that integrates with New Relic to provide additional data or
    functionality

Connect New Relic

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    new_relic: {
      type: "app",
      app: "new_relic",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.newrelic.com/v2/users.json`,
      headers: {
        "X-Api-Key": `${this.new_relic.$auth.api_key}`,
      },
    })
  },
})

Connect GitHub

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    github: {
      type: "app",
      app: "github",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.github.com/user`,
      headers: {
        Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
        "X-GitHub-Api-Version": `2022-11-28`,
      },
    })
  },
})