-
Hi Team, Could anyone help me with the following issue? I’m installing splunk-otel-collector on EKS via Helm chart and trying to configure additional K8s metrics, such as Chart values:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hello @atsikham I just got this working with all the metrics you are referring to. The issue is you are introducing this receiver Also the metrics shows up as
g |
Beta Was this translation helpful? Give feedback.
-
Hello @govardha, Actually, while your point is correct, there were no statefulset/job/hpa metrics at all. The reason is that they are disabled by default - https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/afe04e45d4fa993fa52f862cb86d70399805a5cc/exporter/signalfxexporter/internal/translation/default_metrics.go#L99 |
Beta Was this translation helpful? Give feedback.
Hello @atsikham
I just got this working with all the metrics you are referring to. The issue is you are introducing this receiver
k8s_cluster
in theagent.config
, it should be inclusterReceiver.config
. This module listens to the kube-api server to produce the metrics, so you don't want this in your agents, which may end up duplicating the same metrics pointlessly. Hence you need to stand this up in the cluster receiver. Hope this helps.Also the metrics shows up as
k8s.statefulset.*
rather thankubernetes.statefulset.*
as you expect it to be.g