Real-time performance insights into your software, infrastructure & customer experience
Go to siteThe New Relic API offers powerful capabilities for monitoring, alerting, and analyzing the performance of your web applications and infrastructure. By using the API within Pipedream, you can automate and orchestrate a vast array of operations that revolve around your application's health and data insights. This can range from triggering workflows based on New Relic alerts, to syncing performance data with other tools, or even automating responses to specific incidents.
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}`,
},
})
},
})
Automated Incident Response: When New Relic detects an anomaly or a performance issue, it can trigger a Pipedream workflow that automatically posts a message to a Slack channel, alerting the relevant team. The workflow could also create a ticket in Jira, ensuring that the incident is tracked and managed properly.
Performance Metrics to Data Warehouse: Set up a Pipedream workflow that periodically fetches performance metrics from New Relic and inserts this data into a Google BigQuery data warehouse. This allows for advanced analysis alongside other business metrics, giving a more comprehensive view of how application performance impacts the overall business.
Dynamic Configuration Updates: If New Relic reports that a service is experiencing high traffic, a Pipedream workflow can interact with other APIs, such as a feature flagging service like LaunchDarkly, to dynamically adjust application features or throttle user access to maintain service stability.
New Relic uses API keys for authentication. When you connect your New Relic account, Pipedream securely stores the keys so you can easily authenticate to New Relic APIs in both code and no-code steps.
New Relic API calls require an API key in the call header. The API key uniquely identifies your account and authorizes access to your account data. Find your API key in your account settings > integrations > api key.