• /
  • EnglishEspañolFrançais日本語한국어Português
  • Se connecterDémarrer

Install OpenTelemetry Collector on Kubernetes

You can monitor your Kubernetes cluster using OpenTelemetry, which provides a standardized way to collect and send telemetry data to New Relic. This integration allows you to gain insights into your Kubernetes environment, including metrics, events, and logs.

New Relic recommends using the New Relic distribution of OpenTelemetry (NRDOT) for Kubernetes. This distribution is pre-configured to work seamlessly with New Relic and includes all necessary components and configurations to effectively monitor your Kubernetes cluster. However, if you prefer to use your own OpenTelemetry Collector, you can do so by ensuring it includes the required components for Kubernetes monitoring.

Requirements

To send Kubernetes telemetry data to New Relic, you need an OpenTelemetry Collector. Our NRDOT is configured to automatically monitor your Kubernetes cluster. It deploys all necessary components through our nr-k8s-otel-collector Helm chart.

If you opt for a different OpenTelemetry Collector, ensure it includes all the key components for comprehensive Kubernetes monitoring:

Supported Environments

Our OpenTelemetry monitoring for Kubernetes provides robust support across various deployment environments. Supported platforms include:

  • Cloud vendors:

    • Amazon EKS
    • Microsoft AKS
    • Google GKE
    • Red Hat OpenShift
  • On-Premise clusters: We offer support for on-premise Kubernetes clusters.

  • Kubernetes versions: Support aligns with the Kubernetes versions currently supported by each vendor, ensuring compatibility and effective monitoring solutions across these environments.

Important

Windows nodes are not supported.

Install your Kubernetes cluster with OpenTelemetry

You can install OpenTelemetry for Kubernetes using one of the following methods:

Conseil

For advanced configuration options, refer to Advanced configuration for OpenTelemetry Kubernetes.

Configuration parameters in values.yaml

The values.yaml file in the nr-k8s-otel-collector Helm chart repository contains all the configuration parameters you can use to customize your OpenTelemetry Collector deployment. This file allows you to set various options, such as cluster name, license key, and other collector settings.

Alerts

You can install essential alert policies by going through the guided installation flow in Integrations & Agents. This automatically sets up alert policy named Kubernetes (OpenTelemetry) alert policy in your New Relic account with multiple alert conditions designed for Kubernetes observability. Customize these conditions to suit your specific monitoring needs.

Kubernetes OpenTelemetry alert policy

Find and use data

Check out these documents to learn more on how to find data:

Metrics

Uninstall

Helm uninstall

To stop monitoring a Kubernetes cluster with OpenTelemetry, run this command:

bash
$
helm uninstall nr-k8s-otel-collector -n newrelic

Manifests uninstall

To stop monitoring a Kubernetes cluster with OpenTelemetry, run this command:

bash
$
kubectl delete -R -f rendered
$
kubectl delete namespaces newrelic

Support

If you have issues with the OpenTelemetry observability for Kubernetes, refer to:

Advanced configuration for OpenTelemetry Kubernetes

Customize your OpenTelemetry Collector configuration for Kubernetes in New Relic.

Troubleshooting OpenTelemetry for Kubernetes

Learn how to troubleshoot issues with the OpenTelemetry Collector in Kubernetes.

Droits d'auteur © 2025 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.