Shall we get custom metrics in k8s using signoz ?
# support
n
Shall we get custom metrics in k8s using signoz ?
v
You can export k8s metrics to SigNoz, follow this doc: https://signoz.io/docs/tutorial/kubernetes-infra-metrics/
n
I am not able to see k8s_pod_* metrics in the dashboard
Like pod k8s_pod_cpu_*,k8s_pod_memory* @Vishal Sharma
@Vishal Sharma signoz is not able to get k8s_pod_* metrics.Could you help?
v
@Prashant Shahi @Srikanth Chekuri Can one of you help?
p
Check logs of pods from
k8s-infra
chart - mainly OtelAgent component
n
All metrics are available except k8s_pod_* .
Please find the below screenshot
@Prashant Shahi
p
@Narasimhamurthi Kota details about K8s version, distribution and cloud vendor, if any?
n
K8s version:1.24.4 ,cloudvendor:DO
@Prashant Shahi could you help with the k8s_pod_* metrics which are not appearing to create dashboard
May I have an update On this @Prashant Shahi ?
What am I not able to see the k8s_pod_* metrics ?
p
error scraperhelper/scrapercontroller.go:214 Error scraping metrics {"kind": "receiver", "name": "kubeletstats", "pipeline": "metrics", "error": "Get \"http://pool-iytqfvim8-qo0cj:10255/stats/summary\": dial tcp: lookup pool-iytqfvim8-qo0cj on 10.245.0.1053 no such host", "scraper": "kubeletstats"}
@Narasimhamurthi Kota Issue with Digital Ocean K8s. Unable to resolve node name properly to fetch kubetlet metrics.
will respond when I get the fix.
n
Thanks @Prashant Shahi for the update