https://signoz.io logo
#support
Title
# support
c

Christopher Paro

05/31/2023, 8:41 PM
Hey! Anyone run into an issue with the otel agent not able to connect to the host node? I've seen some solutions for kube-metrics but nothing for the otel agent. This is running on a DOK cluster
Copy code
"2023-05-31T20:39:36.574Z\terror\tscraperhelper/scrapercontroller.go:212\tError scraping metrics\t{\"kind\": \"receiver\", \"name\": \"kubeletstats\", \"data_type\": \"metrics\", \"error\": \"Get \\\"<https://dynamic-premium-intel-frnw6:10250/stats/summary>\\\": dial tcp: lookup dynamic-premium-intel-frnw6 on 10.245.0.10:53: no such host\", \"scraper\": \"kubeletstats\"}"
s

Srikanth Chekuri

06/01/2023, 1:30 AM
We have seen some issues specific to DOK cluster environments. @Prashant Shahi might have some pointers.
c

Christopher Paro

06/01/2023, 4:00 AM
I tried changing it from the fqdn to the IP but still no luck. Any help on this would be appreciated.
any guidance on this or are we out of luck in terms of running this on a DOK cluster
p

Prashant Shahi

06/13/2023, 4:10 PM
@Christopher Paro IN DOK,
kubeletstats
receiver is unable to fetch metrics since the kubelet API port of the host is not accessible from within the container. It would take some time to find proper solution around this. Meanwhile, you could use cadvisor instead to get K8s metrics and use otel-collector-metrics to scrape it either with config change or pod annotation
<http://signoz.io/scrape|signoz.io/scrape>
and
<http://signoz.io/port|signoz.io/port>
. https://github.com/google/cadvisor/tree/master/deploy/kubernetes
7 Views