1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-03-05 07:26:55 +00:00
kyverno/pkg/metrics
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
..
admissionrequests Added appropriate logging levels to log.Info() calls wherever necessary (#4341) 2022-08-18 13:24:59 +00:00
admissionreviewduration Added appropriate logging levels to log.Info() calls wherever necessary (#4341) 2022-08-18 13:24:59 +00:00
policychanges Added appropriate logging levels to log.Info() calls wherever necessary (#4341) 2022-08-18 13:24:59 +00:00
policyexecutionduration chore: fix golangcilint timeout (#4388) 2022-08-24 21:08:24 +08:00
policyresults chore: fix golangcilint timeout (#4388) 2022-08-24 21:08:24 +08:00
policyruleinfo Added appropriate logging levels to log.Info() calls wherever necessary (#4341) 2022-08-18 13:24:59 +00:00
common_types.go Add the metric "kyverno_client_queries_total" (#4359) 2022-08-31 11:33:47 +05:30
fake.go use failurePolicy to block or allow requests, on policy errors (#4183) 2022-08-02 20:24:02 +05:30
init.go chore: fix golangcilint timeout (#4388) 2022-08-24 21:08:24 +08:00
log.go refactor: metrics package logger (#3734) 2022-04-29 19:33:08 +02:00
metrics.go Add the metric "kyverno_client_queries_total" (#4359) 2022-08-31 11:33:47 +05:30
parsers.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00