External APIs

New Relic: Realtime App Monitoring

Inserts published data into the New Relic Insights Service.
Back to BLOCKS

About New Relic: Realtime App Monitoring

This block inserts published data into the New Relic Insights Service.

Try it Now
Categories:
External APIs External APIs
Charting & Graphing
Charting & Graphing
Triggers & Notifications
Triggers & Notifications
Last Updated:
20160825 at 17:10:11
Author:
Ian Jennings
New Relic: Realtime App Monitoring

Walkthrough

First, replace ACCOUNT_ID with your New Relic account ID. Then, replace INSIGHTS_KEY with your New Relic Insights insert API key (requires a paid New Relic APM account).

This BLOCK publishes the data to the New Relic Insights API which allows you to perform queries and observe custom analytics correlated with other New Relic metrics.

Messages logged must be in the format required by New Relic. See below for an example.

Input

Message published over PubNub in New Relic format.
[
    {
        "eventType": "Purchase",
        "account": 3,
        "amount": 259.54
    },
    {
        "eventType": "Purchase",
        "account": 5,
        "amount": 12309,
        "product": "Item"
    }
]