# Kubernetes Kubelet Metrics

### Supported Platforms

| Platform              | Metrics | Logs | Traces |
| --------------------- | ------- | ---- | ------ |
| Kubernetes DaemonSet  | ✓       |      |        |
| OpenShift 4 DaemonSet | ✓       |      |        |

### Configuration Table

<table><thead><tr><th width="164.73046875">Parameter</th><th width="111.91796875">Type</th><th width="91.640625">Default</th><th>Description</th></tr></thead><tbody><tr><td>cluster_name*</td><td><code>string</code></td><td></td><td>The cluster name that will be added as the <code>k8s.cluster.name</code> resource attribute.</td></tr><tr><td>metric_groups</td><td><code>enums</code></td><td>all</td><td>Metric groups to the collector. Supported options include <code>node</code>, <code>pod</code>, <code>container</code>, and <code>volume</code>.</td></tr><tr><td>collection_interval</td><td><code>int</code></td><td>60s</td><td>Sets how often (seconds) to scrape for metrics.</td></tr></tbody></table>

<mark style="color:red;">\*</mark>*<mark style="color:red;">required field</mark>*

### Example Configuration

The Kubernetes Kubelet metrics source has one required parameter:

* Cluster Name: The name of the cluster, which will be inserted as the `k8s.cluster.name` resource attribute

<figure><img src="https://1405008107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgmiOMzBfoNFwmKJFHMcJ%2Fuploads%2Fgit-blob-a517223b2614bc61e20de5cb13c1e678f97c284e%2Fintegrations-sources-kubernetes-kubelet-metrics-image-1%20(1).png?alt=media" alt="Bindplane docs - Kubernetes Kubelet Metrics - image 1"><figcaption></figcaption></figure>

Once running on an agent, metrics will look like this:

<figure><img src="https://1405008107-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FgmiOMzBfoNFwmKJFHMcJ%2Fuploads%2Fgit-blob-e34568d9e24ad2e4d1928fcf939348dd2ab0d30f%2Fintegrations-sources-kubernetes-kubelet-metrics-image-2.png?alt=media" alt="Bindplane docs - Kubernetes Kubelet Metrics - image 2"><figcaption></figcaption></figure>
