• /
  • EnglishEspañol日本語한국어Português
  • ログイン今すぐ開始

Kubernetes summary page

The Kubernetes APM summary page provides general information about the selected application, including the age of the current deployment, the number of pods available, CPU and memory usage, pod logs, and metric comparison.

This is an image of the Kubernetes APM page

Go to one.newrelic.com > All capabilities > APM & Services > (selected app) > Kubernetes

ヒント

To get a high-level overview of all your applications and services, use our entity explorer.

Monitor the deployment of your Kubernetes cluster

The Kubernetes page in APM offers the following information about your application:

You can surface Kubernetes metadata and link it to your APM agents, whether you use our proprietary agents or OpenTelemetry. uses the Kubernetes metadata to display the specific Kubernetes deployment information related to that APM application.

New Relic proprietary instrumentation

When you install New Relic's Kubernetes integration, New Relic's metadata injection comes into play automatically via the nri-metadata-injection parameter. The MutatingAdmissionWebhook, set up by the Kubernetes instrumentation, takes care of tagging your pods with the necessary environment variables. From there, the data captured in these variables gets carried over to your APM metrics and entities, enriching them with valuable context.

For more information, see how to link your applications to Kubernetes.

The following attributes are required in the APM service entity to display the Kubernetes summary page:

  • k8s.clusterName
  • k8s.namespaceName
  • k8s.deploymentName

OpenTelemetry instrumentation

The OpenTelemetry Collector offers a Kubernetes attributes processor that enrich APM telemetry with Kubernetes metadata.

  1. You need to define an environment variable in your deployment manifest.

  2. Adjust the configuration of the Collector to retrieve the appropriate Kubernetes metadata using this APM environment variable.

As a result, all the APM metrics and entities will include Kubernetes metadata thanks to the K8sattributes processor. For more information, see how to link your OpenTelemetry applications to Kubernetes.

The following attributes are required in the APM service entity to display the Kubernetes summary page:

  • k8s.cluster.name
  • k8s.deployment.name
  • k8s.namespace.name

注意

The Kubernetes summary page won't work properly if there is a mix of different instrumentation providers (New Relic and OpenTelemetry). For it to work properly, both Kubernetes and APM need to be monitored either exclusively through New Relic's proprietary agents or entirely through OpenTelemetry.

Support for different instrumentation providers setup is expected by 2025 Q1.

Copyright © 2024 New Relic株式会社。

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