1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-10 09:56:55 +00:00
kyverno/pkg/utils
shuting 3bf3dcc1af
Add the metric "kyverno_client_queries_total" (#4359)
* Add metric "kyverno_kube_client_queries_total"

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* publish metric for missing queries

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Refactor the way Kyverno registers QPS metric

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Move clientsets to a dedicated folder

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Wrap Kyverno client and policyreport client to register client query metric

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* address linter comments

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* address linter comments

Signed-off-by: ShutingZhao <shuting@nirmata.com>

* Switch to use wrapper clients

Signed-off-by: ShutingZhao <shuting@nirmata.com>

Signed-off-by: ShutingZhao <shuting@nirmata.com>
Co-authored-by: Vyankatesh Kudtarkar <vyankateshkd@gmail.com>
2022-08-31 11:33:47 +05:30
..
admission use failurePolicy to block or allow requests, on policy errors (#4183) 2022-08-02 20:24:02 +05:30
api refactor: move ImageExtractorConfigs in api package (#3781) 2022-05-03 08:45:08 +00:00
controller Wait for informers' cache to be synced before starting controllers (#4155) 2022-06-28 04:55:52 +00:00
engine use failurePolicy to block or allow requests, on policy errors (#4183) 2022-08-02 20:24:02 +05:30
image add applyRules to control whether one or all rules are applied (#4196) 2022-07-29 15:02:26 +08:00
json Fix merging JSON patches (#4202) 2022-07-11 09:26:31 +05:30
kube chore: fix golangcilint timeout (#4388) 2022-08-24 21:08:24 +08:00
os refactor: add os utils sub package (#3528) 2022-04-01 06:59:44 +00:00
string refactor: move some helpers in utils package (#3539) 2022-04-04 18:58:22 +00:00
wildcard refactor: introduce wildcard utils package (#4406) 2022-08-25 05:23:01 +00:00
yaml refactor: separate yaml utils package (#3520) 2022-04-01 09:56:16 +00:00
annotations.go Fix merging JSON patches (#4202) 2022-07-11 09:26:31 +05:30
annotations_test.go feat: mutate existing resources (#3669) 2022-04-25 12:20:40 +00:00
loadpolicy.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00
util.go Add the metric "kyverno_client_queries_total" (#4359) 2022-08-31 11:33:47 +05:30
util_test.go refactor: move common utils (#3553) 2022-04-05 13:02:43 +00:00