and documentation will help…
# support
s
and documentation will help…
1
p
Hey @Satyasanjibani Rautaray 👋 Welcome to the community 🎉 You can refer to this K8s infra metrics tutorial: https://signoz.io/docs/tutorial/kubernetes-infra-metrics/ You would have to replace
<IP of machine hosting SigNoz>
with IP of instance where you have installed SigNoz.. Also, make sure that it is accessible by K8s cluster. For the application running in the K8s, you could either directly send metrics/traces data to SigNoz OTel collector. Or send it to the OTel Collector DemonSet running on the node of the same K8s cluster (after following above tutorial) which would forward it SigNoz.
s
Thanks will tryout this…
Hi @Prashant Shahi unable to get the kubernetes matrics with below error
Copy code
2022-06-10T08:41:32.868Z	error	scraperhelper/scrapercontroller.go:198	Error scraping metrics	{"kind": "receiver", "name": "kubeletstats", "error": "Get \"<https://bhartimatrix03:10250/stats/summary>\": dial tcp: lookup bhartimatrix03 on 10.245.0.10:53: no such host", "scraper": "kubeletstats"}
<http://go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport|go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).scrapeMetricsAndReport>
	<http://go.opentelemetry.io/collector@v0.43.1/receiver/scraperhelper/scrapercontroller.go:198|go.opentelemetry.io/collector@v0.43.1/receiver/scraperhelper/scrapercontroller.go:198>
<http://go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1|go.opentelemetry.io/collector/receiver/scraperhelper.(*controller).startScraping.func1>
	<http://go.opentelemetry.io/collector@v0.43.1/receiver/scraperhelper/scrapercontroller.go:17|go.opentelemetry.io/collector@v0.43.1/receiver/scraperhelper/scrapercontroller.go:17>
the above errors are in all PODs of agent
p
@Satyasanjibani Rautaray Just tested it in EKS cluster! Can you make sure that SigNoz Otel OTLP endpoint is accurate and accessible? Also, you import latest dashboard JSOn from here: https://raw.githubusercontent.com/SigNoz/benchmark/main/dashboards/k8s-infra-metrics/cpu-memory-metrics.json
s
got few metrics but not all
and i see its getting from one node only rather all pods from namespace
@Prashant Shahi any help?