Monitoring Kubernetes using Grafana
Kubernetes has been designed to be monitored, and as such, it presents multiple options for anyone wanting to monitor it or the workloads running on it using Grafana. In this section, we will focus on monitoring Kubernetes, as we have already worked with Kubernetes workloads in previous chapters using the OpenTelemetry Demo application.
The OpenTelemetry Collector introduced in Chapter 3 provides receivers, processors, and exporters to implement Kubernetes monitoring with data collection and enrichment. The following table identifies those components with a brief explanation for each of them:
OpenTelemetry Component |
Description |
Kubernetes Attributes Processor |
The Kubernetes Attributes Processor appends Kubernetes metadata to telemetry, providing the necessary context for correlation. |
Kubeletstats... |