@@ -476,29 +476,42 @@ Labels {along with possible values}:
476
476
477
477
2. `apiserver_authorization_webhook_evaluations_total`
478
478
479
- This will be incremented on round-trip of an authorization webhook. It will track
480
- total invocation counts across the following labels.
479
+ This will be incremented on round-trip of an authorization webhook.
480
+ It will track total invocation counts across the following labels.
481
481
482
- - ` name`
483
- - ` code` {"incomplete_request", "bad_response"}
482
+ - ` name` {<authorizer_name>}
483
+ - value matches the configuration `name` field
484
+ - ` code` {canceled, timeout, error, ok}
485
+ - `canceled` : the call invoking the webhook request was canceled
486
+ - `timeout` : the webhook request timed out
487
+ - `error` : the webhook response completed and was invalid
488
+ - `ok` : the webhook response completed and was well-formed
484
489
485
490
3. `apiserver_authorization_webhook_duration_seconds`
486
491
487
492
This is a Histogram metric that will track the total round trip time of the requests to the webhook.
488
493
489
494
Labels {along with possible values} :
490
- - ` name`
491
- - ` code` {"incomplete_request", "bad_response", "ok"}
495
+ - ` name` {<authorizer_name>}
496
+ - value matches the configuration `name` field
497
+ - ` code` {canceled, timeout, error, ok}
498
+ - `canceled` : the call invoking the webhook request was canceled
499
+ - `timeout` : the webhook request timed out
500
+ - `error` : the webhook response completed and was invalid
501
+ - `ok` : the webhook response completed and was well-formed
492
502
493
503
4. `apiserver_authorization_webhook_evaluations_fail_open_total`
494
504
495
- This metric will be incremented when a webhook returns `code != errAuthzWebhookOKCode` and
496
- decision on error is not set to `deny `.
505
+ This metric will be incremented when a webhook request times out or
506
+ returns an invalid response, and the failurePolicy is set to `NoOpinion `.
497
507
498
508
Labels {along with possible values} :
499
509
500
- - ` name`
501
- - ` code` {"incomplete_request", "bad_response"}
510
+ - ` name` {<authorizer_name>}
511
+ - value matches the configuration `name` field
512
+ - ` code` {timeout, error}
513
+ - `timeout` : the webhook request timed out
514
+ - `error` : the webhook response completed and was invalid
502
515
503
516
5. `apiserver_authorization_config_controller_automatic_reload_last_timestamp_seconds`
504
517
0 commit comments