-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
some metrics and their origin #261
Comments
I believe they come from cAdvisor which is embedded into kubelet. |
which configuration of prometheus is scraping kubelet's? |
The kubelets are a tricky one, a few Prometheus Operator features play together for those to get scraped:
|
Closing here for now. Feel free to comment here if you have further questions. |
Just found this and running into the same issue, does this metric only work when using the operator, Im trying to get these charts to work using helm charts but not able to :(. I can see it in prometheus, but its not working in the Grafana chart. |
It does not only work with the Prometheus Operator, but it makes is especially easy to scrape them, and with out of the box configuration from kube-prometheus that will work pretty much one-click. As there is currently just a Prometheus Operator chart I'm unsure I understand which charts you are referring to @dkoshkin . |
My bad @brancz I should have specified I was playing around with https://github.com/kubernetes/charts/tree/master/stable/grafana |
I explained in other message but might be better to stay at here too. Default scrape interval is 1m and dashboard is using 1m for rate function. So there is not enough data for rate function. Change dashboard interval to 2m or decrease scrape interval to 30s. |
Thanks @cemo that worked! |
I did not want to open an issue for this but could not find really a better way. I am using dashboards of this repo without using prometheus operator and could not find what is filling
container_network_receive_bytes_total
andcontainer_cpu_usage_seconds_total
metrics. These seems as part ofkube-proxy
but could not find necessary scrapping configurations.The text was updated successfully, but these errors were encountered: