influxdata/telegraf

[kube inventory plugin] map deployment to pods

Open

#16,142 opened on Nov 5, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (4,161 forks)batch import
feature requesthelp wanted

Repository metrics

Stars
 (9,892 stars)
PR merge metrics
 (Avg merge 2d 12h) (136 merged PRs in 30d)

Description

Today in kube inventory plugin there is no way to map a deployment to a pod thereby to a container.

sample config [[inputs.kube_inventory]] url = "https://127.0.0.1:6443" url_kubelet = "https://127.0.0.1:10250" bearer_token = "/run/secrets/kubernetes.io/serviceaccount/token" insecure_skip_verify = true name_prefix = "kube_inventory_"

Can the plugin be enhanced to include the pod names in the deployment metrics

Contributor guide