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 of the basic dashboards not working right #3058
Comments
I have the same issue. |
You are specifically mentioning If you cannot see any time series of this metric/endpoint in Grafana or Prometheus UI, Prometheus has likely not discovered/scraped that specific kubelet endpoint. The Status/Targets page in Prometheus UI shows info on discovered targets. BTW The corresponding service monitors get created through
and the service through
Both are enabled by default. |
Further on that query, it includes variables |
I didn't override those values and kept the default. (you can see my values) |
https://www.awesomescreenshot.com/video/15129229?key=6ffd2deb551c5de77d3a5d46408980a2 |
There do not seem to be any recorded time series matching the expression. Will you show a sample output of this query?
|
|
And a sample output of |
Working well. https://tinyurl.com/2ohjr6zj |
The expression in the recording does not find a match as we can see since labels |
@zeritti Thanks for checking this out. What can be the reason for that? what needs to be checked next? |
i have the same problem. i provisioned cluster by rke v1.4.2 and my helm chart version is 45.2.0. |
Same here on a k3s cluster. Using K3s v1.25.4+k3s1 and chart version 45.4.0. it seems that the cluster label is not populated and throws off the rest of the recordings. |
I saw @johnswarbrick-napier and @monotek released a new version 3 days ago. Can you relate to this issue before the next publish? |
Tested 45.5.0 just now and no difference at this time |
I have installed kube-prometheus-stack v45.1.1 (tested with 45.5.0 and 44.4.1) on K8S 1.25.6 and I have the same issue. I did some digging inside the Prometheus and the root cause is the existence of I see a lack of that label in @XDavidT 's screenshot too.
Smart Prometheus guys, please advise. Probably the k8s.rules in Prometheus should be adjusted. Or the lack of the WRT questions asked by @zeritti:
would work but need to remove So that works for me, and so should work for other people:
|
The fact that values for Another thing is that cAdvisor may not be able to get that information from the container runtime at all because it does not make it available any longer - see e.g. this issue at rancher or this issue at kubernetes. Some distributions have been affected, others have not but 1.24 seems to be the critical release in some distributions when docker shim was removed from kubelet. |
No, the |
@XDavidT I assume you are using the docker engine, if it is not a requirement for you, you can switch to containerd, with that prometheus stack works fine without any workarounds/fixes |
I can tell after trying to upgrade the cluster to: @akantak Thank's but RKE2 only support this, and we stick with RKE1 for now. Edit1: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
It seem related to this issue in cadvisor. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any further update will cause the issue/pull request to no longer be considered stale. Thank you for your contributions. |
This issue is being automatically closed due to inactivity. |
Describe the bug a clear and concise description of what the bug is.
Screenshots: https://tinyurl.com/2exxpskb https://tinyurl.com/2qdrsk5b https://tinyurl.com/2hfq6zrl
Networking: https://tinyurl.com/2otnavgt
In this example, we not even see namespaces: https://tinyurl.com/2pbekvbz
I've used a screenshot cause it's the best easy what to use it
Where to start? what components to check? or query?
What's your helm version?
v3.11.1
What's your kubectl version?
Client v1.25.0 Server v1.24.9
Which chart?
kube-prometheus-stack
What's the chart version?
45.2.0
What happened?
I've tried to look at some of the basic dashboards to investigate the usage of my new Jenkins and found that most of the dashboard doesn't provide information.
What you expected to happen?
No response
How to reproduce it?
No response
Enter the changed values of values.yaml?
Enter the command that you execute and failing/misfunctioning.
None
Anything else we need to know?
I have 2 Prometheus sources (1 old from another system added to Grafana manauly, and one new that came with kube-prom-stack), and now I've checked dashboard:
kubernetes-compute-resources-node-pods
, and saw CPU metric looks forsum(node_namespace_pod_container:container_cpu_usage_seconds_total:sum_irate{cluster="$cluster", node=~"$node"}) by (pod)
, on the explorer page I've looked fornode_namespace_pod_container
but didn't find it their, only from old promethues, but this metric not available for the new one.Is there any chance metric are updated, but dashboards aren't?
The text was updated successfully, but these errors were encountered: