-
Notifications
You must be signed in to change notification settings - Fork 811
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
[BUG]: Blank metrics endpoint in controller #2307
Comments
Hi @rtrevi thank you for the issue and detailed reproduction steps. I'm sorry that you ran into this pain. While I was able to get metrics working on my cluster, I still see that we can improve our metrics documentation. I followed your instructions and then added two steps:
Note that in EBS CSI Driver versions ≤ 1.39.0, metrics are not initialized to 0 upon driver startup, but instead they are initialized right before first increment. That means metrics won't start appearing until you take some action (like provisioning a volume). Also note that you have to make sure you are port-forwarding the pod with the leader EBS CSI Driver controller container. With these two additional steps I was able to see metrics:
I've created two backlog items for my team to ensure future users won't run into the same pain you did:
Let me know if these two additional steps solved your issue. If not, you may need to add a few additional details about your environment.
|
This would be great, the current state is somewhat misleading. Publishing metrics even if no activity has been recorded would indeed avoid triggering alerts for missing data points.
Agree, they didn't work out for me either so I just ignored them 😅 |
/kind bug
What happened?
The metrics endpoint for the controller pods are returning empty responses with a 200 status code.
Similar to the issue described here: #1993
The node pods do return metrics when querying their metrics endpoint:
What you expected to happen?
The metrics endpoint returning any of the metrics described at: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/docs/metrics.md
How to reproduce it (as minimally and precisely as possible)?
Environment
kubectl version
):Client Version: v1.31.5
Kustomize Version: v5.4.2
Server Version: v1.30.8-eks-2d5f260
The text was updated successfully, but these errors were encountered: