in Kubernets v1.24 docker-shim is removed. So there is no /var/run/docker.sock to gather metrics on running docker containers. What endpoint should be used in that case ?
Thanks for any help !
What runtime are you using? You should be able to see this with
kubectl get nodes -o wide?
edit: if you are running containerd, we may not have a perfect replacement yet per Input Plugin: containerd or cri for kubernetes · Issue #8921 · influxdata/telegraf · GitHub