Commit c4e3ed51 authored by Wojciech Tyczynski's avatar Wojciech Tyczynski Committed by GitHub

Merge pull request #42003 from deads2k/fix-framework

add WATCH to list of excluded verbs for latency metrics
parents c8a87d3a bf30b0c7
...@@ -221,7 +221,7 @@ func readLatencyMetrics(c clientset.Interface) (APIResponsiveness, error) { ...@@ -221,7 +221,7 @@ func readLatencyMetrics(c clientset.Interface) (APIResponsiveness, error) {
ignoredResources := sets.NewString("events") ignoredResources := sets.NewString("events")
// TODO: figure out why we're getting non-capitalized proxy and fix this. // 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 { for _, sample := range samples {
// Example line: // Example line:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment