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
-
Reciever 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.
Help make this document better
This guide, as well as the rest of our docs, are open source and available on GitHub. We welcome your contributions.
- Suggest an edit to this page (please read the contributing guide first).
- To report a problem in the documentation, or to submit feedback and comments, please open an issue on GitHub.
- CircleCI is always seeking ways to improve your experience with our platform. If you would like to share feedback, please join our research community.
Need support?
Our support engineers are available to help with service issues, billing, or account related questions, and can help troubleshoot build configurations. Contact our support engineers by opening a ticket.
You can also visit our support site to find support articles, community forums, and training resources.
CircleCI Documentation by CircleCI is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.