Merge pull request #91310 from tkashem/reset-pf-metrics
Reset flowcontrol metrics on a DELETE /metrics
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user