mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-02 11:18:16 +00:00
add WATCH to list of excluded verbs for latency metrics
This commit is contained in:
@@ -221,7 +221,7 @@ func readLatencyMetrics(c clientset.Interface) (APIResponsiveness, error) {
|
||||
|
||||
ignoredResources := sets.NewString("events")
|
||||
// TODO: figure out why we're getting non-capitalized proxy and fix this.
|
||||
ignoredVerbs := sets.NewString("WATCHLIST", "PROXY", "proxy", "CONNECT")
|
||||
ignoredVerbs := sets.NewString("WATCH", "WATCHLIST", "PROXY", "proxy", "CONNECT")
|
||||
|
||||
for _, sample := range samples {
|
||||
// Example line:
|
||||
|
||||
Reference in New Issue
Block a user