1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-06 09:13:31 +00:00
kyverno/pkg/metrics
Jim Bugwadia 943c3a1929
use failurePolicy to block or allow requests, on policy errors (#4183)
* use failurePolicy to block or allow requests, on policy errors

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* add warnings

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* codegen

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix linter issues

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* add unit tests

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* handle network errors

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix linter issues

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix test

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix title conversion

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix path in generated file

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix test

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix fake metrics

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix tests

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* add check for klog flag initialization

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* check for flag reinitialization

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* check for flag reinitialization

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix spelling

Signed-off-by: Jim Bugwadia <jim@nirmata.com>

* fix flag init

Signed-off-by: Jim Bugwadia <jim@nirmata.com>
2022-08-02 20:24:02 +05:30
..
admissionrequests feat: Opentelemetry support for metrics and traces (#3910) 2022-07-11 17:49:47 +00:00
admissionreviewduration feat: Opentelemetry support for metrics and traces (#3910) 2022-07-11 17:49:47 +00:00
policychanges feat: Opentelemetry support for metrics and traces (#3910) 2022-07-11 17:49:47 +00:00
policyexecutionduration Revert "fix: metrics with invalid validationMode (#4198)" (#4241) 2022-07-20 15:22:03 +00:00
policyresults Revert "fix: metrics with invalid validationMode (#4198)" (#4241) 2022-07-20 15:22:03 +00:00
policyruleinfo feat: Opentelemetry support for metrics and traces (#3910) 2022-07-11 17:49:47 +00:00
common_types.go added: initial prometheus client setup 2021-05-16 13:06:14 +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 Add shutdown methods for exporters and controllers (#4214) 2022-07-25 09:25:26 +00:00
log.go refactor: metrics package logger (#3734) 2022-04-29 19:33:08 +02:00
metrics.go Add shutdown methods for exporters and controllers (#4214) 2022-07-25 09:25:26 +00:00
parsers.go chore: make kyverno api import aliases consistent (#3939) 2022-05-17 13:12:43 +02:00