Skip to content

Commit 611d9ed

Browse files
committed
KEP-3331: update configuration reload metric
Signed-off-by: Anish Ramasekar <[email protected]>
1 parent 7329d8b commit 611d9ed

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

keps/sig-auth/3331-structured-authentication-configuration/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -814,9 +814,8 @@ No.
814814
815815
New metrics:
816816
817-
- `apiserver_authentication_config_controller_automatic_reload_failures_total` - This metric will be incremented when the API server fails to reload the configuration file.
818817
- `apiserver_authentication_config_controller_automatic_reload_last_timestamp_seconds` - This metric will be updated every time the API server reloads the configuration file.
819-
- `apiserver_authentication_config_controller_automatic_reload_success_total` - This metric will be incremented every time the API server successfully reloads the configuration file.
818+
- `apiserver_authentication_config_controller_automatic_reloads_total` - This metric will be incremented every time the API server reloads the configuration file partitioned by status (success/failure).
820819
- `apiserver_authentication_config_controller_automatic_reload_last_config_hash` - This metric will be set to the hash of the loaded configuration file after a successful reload.
821820
- `apiserver_authentication_latency_seconds` - This metric will be used to monitor the time it takes to Authenticate token. This will only be set for token authentication requests for matching issuer.
822821
- `apiserver_authentication_jwks_fetch_last_timestamp_seconds` - This metric will be updated every time the API server makes a request to the JWKS endpoint.

keps/sig-auth/3331-structured-authentication-configuration/kep.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@ disable-supported: true
2525
metrics:
2626
- apiserver_authentication_config_controller_automatic_reload_last_timestamp_seconds{status, apiserver_id_hash}
2727
- apiserver_authentication_config_controller_automatic_reload_last_config_hash{apiserver_id_hash}
28-
- apiserver_authentication_config_controller_automatic_reload_success_total{apiserver_id_hash}
29-
- apiserver_authentication_config_controller_automatic_reload_failures_total{apiserver_id_hash}
28+
- apiserver_authentication_config_controller_automatic_reloads_total{apiserver_id_hash,status}
3029
- apiserver_authentication_latency_seconds{apiserver_id_hash,jwt_issuer_hash}
3130
- apiserver_authentication_jwks_fetch_last_timestamp_seconds{apiserver_id_hash,jwt_issuer_hash,status}
3231
- apiserver_authentication_jwks_fetch_last_keyset_hash{apiserver_id_hash,jwt_issuer_hash}

0 commit comments

Comments
 (0)