Azure Kubernetes Service

Dynatrace ingests metrics for multiple preselected namespaces, including Azure Kubernetes Service. You can view metrics for each service instance, split metrics into multiple dimensions, and create custom charts that you can pin to your dashboards.

Prerequisites

  • Dynatrace version 1.200+
  • Environment ActiveGate version 1.195+

Enable monitoring

To enable monitoring for this service, you first need to set up integration with Azure Monitor.

Add the service to monitoring

In order to view the service metrics, you must add the service to monitoring in your Dynatrace environment.

Configure service metrics

Once you add a service, Dynatrace starts automatically collecting a suite of metrics for this particular service. These are recommended metrics.

Recommended metrics:

  • Are enabled by default
  • Can't be disabled
  • Can have recommended dimensions (enabled by default, can't be disabled)
  • Can have optional dimensions (disabled by default, can be enabled).

Apart from the recommended metrics, most services have the possibility of enabling optional metrics.

Optional metrics:

  • Can be added and configured manually

View service metrics

Once you add the service to monitoring, you can view the service metrics in your Dynatrace environment either on your dashboard page or on the custom device overview page.

The STANDARD namespace has only four metrics. All Nodes metrics are inside the CUSTOM namespace, while the Node disk capacity and IO metrics are in the CUSTOM (LOG-BASED) namespace.

Import preset dashboards

Dynatrace provides preset Azure dashboards that you can import from GitHub to your environment's dashboard page. Once you download a preset dashboard locally, there are two ways to import it.

aks-dash

Available metrics

Name Description Unit Dimensions Recommended
kube_node_status_allocatable_cpu_cores Total number of available CPU cores in a managed cluster Count ✔️
kube_node_status_allocatable_memory_bytes Total amount of available memory in a managed cluster Byte ✔️
kube_node_status_condition Statuses for various node conditions Count condition, status, node ✔️
kube_pod_status_phase Number of pods by phase Count phase, namespace, pod ✔️
kube_pod_status_ready Number of pods in Ready state Count namespace, pod ✔️