Skip to content

Commit

Permalink
Remove defunct references to "vendor"
Browse files Browse the repository at this point in the history
Kubernetes-commit: d772f7719dc55ebfec2e9461b6e14bf17f5301df
  • Loading branch information
thockin authored and k8s-publishing-bot committed Jan 15, 2024
1 parent 946b924 commit cc66563
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions metrics/testutil/promlint.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ import (
// We setup this list for allow and not fail on the current violations.
// Generally speaking, you need to fix the problem for a new metric rather than add it into the list.
var exceptionMetrics = []string{
// k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/egressselector
// k8s.io/apiserver/pkg/server/egressselector
"apiserver_egress_dialer_dial_failure_count", // counter metrics should have "_total" suffix

// k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/server/healthz
// k8s.io/apiserver/pkg/server/healthz
"apiserver_request_total", // label names should be written in 'snake_case' not 'camelCase'

// k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/endpoints/filters
// k8s.io/apiserver/pkg/endpoints/filters
"authenticated_user_requests", // counter metrics should have "_total" suffix
"authentication_attempts", // counter metrics should have "_total" suffix

Expand Down

0 comments on commit cc66563

Please sign in to comment.