add WATCH to list of excluded verbs for latency metrics

pull/6/head
deads2k 2017-02-23 15:47:28 -05:00
parent c8a87d3a62
commit bf30b0c71b
1 changed files with 1 additions and 1 deletions

View File

@ -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: