Merge pull request #22661 from davidopp/proxy

Add CONNECT to ignoredVerbs for readLatencyMetrics.
This commit is contained in:
Wojciech Tyczynski 2016-03-07 20:35:32 +01:00
commit 7a43808143

View File

@ -199,7 +199,7 @@ func readLatencyMetrics(c *client.Client) (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")
ignoredVerbs := sets.NewString("WATCHLIST", "PROXY", "proxy", "CONNECT")
for _, sample := range samples {
// Example line: