Skip to content

Commit

Permalink
remove apiserver_admission_step_admission_duration_seconds_summary me…
Browse files Browse the repository at this point in the history
…tric
  • Loading branch information
chadpatel committed Oct 4, 2023
1 parent 1957d95 commit 6b3620f
Showing 1 changed file with 19 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,24 +33,25 @@ const (
var (
controlPlaneMetricAllowList = []string{
"apiserver_admission_controller_admission_duration_seconds.*",
"apiserver_admission_step_admission_duration_seconds.*",
"apiserver_admission_webhook_admission_duration_seconds.*",
"apiserver_current_inflight_requests",
"apiserver_current_inqueue_requests",
"apiserver_flowcontrol_rejected_requests_total",
"apiserver_flowcontrol_request_concurrency_limit",
"apiserver_longrunning_requests",
"apiserver_request_duration_seconds.*",
"apiserver_request_total",
"apiserver_requested_deprecated_apis",
"apiserver_storage_list_duration_seconds.*",
"apiserver_storage_objects",
"apiserver_storage_db_total_size_in_bytes.*",
"apiserver_storage_size_bytes.*",
"etcd_db_total_size_in_bytes.*",
"etcd_request_duration_seconds.*",
"rest_client_request_duration_seconds.*",
"rest_client_requests_total",
// we want to exclude the separate metric apiserver_admission_step_admission_duration_seconds_summary
"^apiserver_admission_step_admission_duration_seconds_(bucket|sum|count)$",
"^apiserver_admission_webhook_admission_duration_seconds.*",
"^apiserver_current_inflight_requests",
"^apiserver_current_inqueue_requests",
"^apiserver_flowcontrol_rejected_requests_total",
"^apiserver_flowcontrol_request_concurrency_limit",
"^apiserver_longrunning_requests",
"^apiserver_request_duration_seconds.*",
"^apiserver_request_total",
"^apiserver_requested_deprecated_apis",
"^apiserver_storage_list_duration_seconds.*",
"^apiserver_storage_objects",
"^apiserver_storage_db_total_size_in_bytes.*",
"^apiserver_storage_size_bytes.*",
"^etcd_db_total_size_in_bytes.*",
"^etcd_request_duration_seconds.*",
"^rest_client_request_duration_seconds.*",
"^rest_client_requests_total",
}
)

Expand Down

0 comments on commit 6b3620f

Please sign in to comment.