Start Building for Free
CircleCI.comAcademyBlogCommunitySupport

New Relic integration

8 months ago1 min read
Cloud
Server v4.x
Server v3.x
On This Page
  • Overview
  • Integration

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.

  1. Log in to the CircleCI web app

  2. Access one of your CircleCI projects

  3. Open Project settings

  4. In the project settings sidebar, click Webhooks

  5. Click Add webhook

  6. 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

  7. Click Add Webhook to save the new webhook.

  8. 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.

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.