Skip to content

Enabling K8s cluster receiver #672

Answered by govardha
atsikham asked this question in Q&A
Discussion options

You must be logged in to vote

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 the agent.config, it should be in clusterReceiver.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 than kubernetes.statefulset.* as you expect it to be.

g

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by atoulme
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants