Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Able to get metrics from pods and container but not for nodes #1467

Open
Yiyito11 opened this issue Dec 18, 2024 · 0 comments
Open

Able to get metrics from pods and container but not for nodes #1467

Yiyito11 opened this issue Dec 18, 2024 · 0 comments

Comments

@Yiyito11
Copy link

Hello Folks, I installed inside our AKS the opentelemetry colector helm chart. We have being using it to send logs from services into splunk si far. Now I had configured the kubeletMetrics: enabled: true so to also get metrics from pods and nodes
and configured the kubeletstat this way to get those metrics

kubeletstats:
      collection_interval: 10s
      auth_type: 'serviceAccount'
      endpoint: 'https://${env:K8S_NODE_NAME}:10250'
      insecure_skip_verify: true
      metric_groups:
       - container
       - pod
       - node

I´m getting in splunk metrics like: metric_name:k8s.pod.memory.usage and metric_name:k8s.pod.cpu.utilization or metric_name:system.memory.usage (among others) but all related to pods and container or system. I can´t see those for the nodes. am I missing something? according to the doc node metrics should also be there: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/kubeletstatsreceiver/documentation.md

what else should I be configuring or I could be missing? thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant