-
Notifications
You must be signed in to change notification settings - Fork 133
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
Capture metrics for external volume resizing #37
Comments
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle stale. |
What metrics should the external-resizer emit? If I read correctly, in-tree CSI resizing already emits metrics for duration, errors, statuses etc. I suppose the duration there isn't exactly accurate (because the resizing is performed externally), is that correct? If so, would recording the duration of the operation enough here? |
@yuxiangqian is planning to add a metrics library to csi-lib-utils that all the sidecars can use |
The main benefit of sidecar metrics is to get per operation latency and error metrics which cannot be done in the intree controller for CSI plugins |
@bertinatto we do not emit resizing metrics for CSI drivers from in-tree code. Where did you see the metric being emitted? The in-tree controller simply hands over the control to the external controller. @msau42 Will the library capture just operation metrics or total latecy metrics? |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/lifecycle frozen |
@gnufied @msau42 I have not got a chance to work on the lib yet. I will come back to that after the snapshot to beta project is done. But the plan is to have it in csi-lib-utils. My very initial thought is to have common utilities, like metric registration with prometheus, timestamp cache struct etc. defined for sharing. The real reporting would still happen likely in sidecar controllers. Might worth a KEP? |
No description provided.
The text was updated successfully, but these errors were encountered: