Merge pull request #91310 from tkashem/reset-pf-metrics

Reset flowcontrol metrics on a DELETE /metrics
This commit is contained in:
Kubernetes Prow Robot 2020-05-25 23:29:11 -07:00 committed by GitHub
commit b07d99dd35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,6 +48,8 @@ func (m MetricsWithReset) Install(c *mux.PathRecorderMux) {
if req.Method == "DELETE" {
apimetrics.Reset()
etcd3metrics.Reset()
flowcontrolmetrics.Reset()
io.WriteString(w, "metrics reset\n")
return
}