New Relic

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

Integrate the New Relic API with the Formatting API

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

[Data] Convert JSON to String with Formatting API on New Alert from New Relic API
New Relic + Formatting
 
Try it
[Data] Convert JSON to String with Formatting API on New Deployment from New Relic API
New Relic + Formatting
 
Try it
[Data] Parse JSON with Formatting API on New Alert from New Relic API
New Relic + Formatting
 
Try it
[Data] Parse JSON with Formatting API on New Deployment from New Relic API
New Relic + Formatting
 
Try it
[Date/Time] Add/Subtract Time with Formatting API on New Alert from New Relic API
New Relic + Formatting
 
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
[Data] Convert JSON to String with the Formatting API

Convert an object to a JSON format string

 
Try it
[Data] Parse JSON with the Formatting API

Parse a JSON string

 
Try it
New Deployment with the New Relic API

Create a new deployment mark. See the docs here

 
Try it
[Date/Time] Add/Subtract Time with the Formatting API

Add or subtract time from a given input

 
Try it
[Date/Time] Compare Dates with the Formatting API

Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.

 
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 Formatting

1
2
3
4
5
6
export default defineComponent({
  async run({ steps, $ }) {
    const text = ' Hello world! ';
    return text.trim()
  },
})