New Relic integration
On This Page
This page describes how to connect Insights data with New Relic.
Overview
The New Relic CircleCI integration allows you to view analytical data about their CircleCI jobs within the New Relic monitoring stack.
Integration
Complete the following steps to set up a CircleCI webhook to forward your logs to New Relic. For more information, refer to the New Relic CircleCI installation docs.
-
Log in to the CircleCI web app
-
Access one of your CircleCI projects
-
Open Project settings
-
In the project settings sidebar, click Webhooks
-
Click Add webhook
-
Complete the following fields:
-
Webhook name: give your webhook an easily identifiable name, for example,
New Relic CI Visibility
-
Receiver URL: Use New Relic’s Logs endpoint. Use the region you set for your New Relic account.
Replace
YOUR_LICENSE_KEY
with your New Relic license key, which you can retrieve from the UI or API.US:
https://log-api.newrelic.com/log/v1?Api-Key=YOUR_LICENSE_KEY
EU:
https://log-api.eu.newrelic.com/log/v1?Api-Key=YOUR_LICENSE_KEY
-
Events: Select Workflow Completed or Job Completed, depending on the type of event you want to trigger the logpush
-
Enable the check: Certificate verifications
-
-
Click Add Webhook to save the new webhook.
-
If you have set up your receiving API or third-party service, click Test ping event to create a test event.