open-policy-agent / gatekeeper

🐊 Gatekeeper - Policy Controller for Kubernetes
https://open-policy-agent.github.io/gatekeeper/
Apache License 2.0
3.58k stars 733 forks source link

Profiling and Debugging Features #2225

Open maxsmythe opened 1 year ago

maxsmythe commented 1 year ago

Describe the solution you'd like The Gator command should be extended to make it easier to profile, debug, write, and trace constraint templates. Including the ability to see the expected shape of resources under test and data.inventory.+

In addition, Gatekeeper should have tools that allow users to debug performance issues on live clusters (e.g. enabling reporting of execution times of constraints in the logs to identify slow constraints and similar.

This is an extraction of the ideas mentioned in #1365

Anything else you would like to add: [Miscellaneous information that will assist in solving the issue.]

Environment:

stale[bot] commented 1 year ago

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.