New Relic Inc.

05/26/2022 | News release | Distributed by Public on 05/27/2022 00:59

Automate your observability with New Relic

APM and infrastructure agents

The guided installer is a good starting point for getting visibility into your tech stack, but in order to maintain the rollout of observability agents, it is recommended to include the agents in a CI/CD pipeline or configuration management tool like Ansible.

New Relic provides example Ansible roles for both APM and Infrastructure agents. The latest agents are also available, making it simple to include in a CI/CD pipeline.

Once included in the CI/CD pipeline, don't forget to send deployment markers any time there is a new build of your application. You can automate deployment of the infrastructure agent in a similar way by utilizing a configuration management tool like Ansible, baking the agent into your AMI/server image, or using Docker Hub to automatically pull down the latest container image.

OpenTelemetry SDKs

While New Relic provides many agents and integrations for you, we also support the collection of telemetry from other sources.

One of the current industry standards for collecting Telemetry data is OpenTelemetry. This is an open-source project that contributes to the instrumentation of many common languages and frameworks. In most cases, it's as simple as dropping an OpenTelemetry SDK into your application and pointing it at New Relic. New Relic inherently supports all OpenTelemetry SDKs that have the option of sending data to an OTLP endpoint. Most OpenTelemetry SDKs provide some sort of automatic instrumentation, but also allow for the ability to manually instrument your application as well. This deployment can also be automated by adding the SDK to your CI/CD pipeline.

MELT APIs

Utilizing New Relic's MELT APIs is the most direct way to get telemetry data from your environment. Typically this is the last step after deploying agents in order to get the last bit of custom telemetry from services that may not be supported by New Relic agents or OpenTelemetry SDKs.

Call New Relic APIs directly from your application for a fully-automated pipeline of custom data.