-
Notifications
You must be signed in to change notification settings - Fork 786
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
Time taken by each constraint to validate the resources #1496
Comments
@priyamshet are you interested in this metric for audit or admission request? |
Created as open-policy-agent/frameworks#135 |
Mostly for audit, We are looking at using this information to profile the constraints execution, to understand how long each constraint takes to do the required auditing against all resources in cluster. We see audit happens here but logs show audit_started and audit_finished but there is no information/logs/duration at the individual constraint level. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
Having this on a live cluster may be good for debugging. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
open-policy-agent/frameworks#263 is aimed at enabling this |
Describe the solution you'd like
Log/report total(start/end) time taken by each constraint to validate all the resources
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:
kubectl version
):The text was updated successfully, but these errors were encountered: