mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Reset flow control metrics on /metrcis DELETE
This commit is contained in:
parent
eb34058777
commit
01c5818b63
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user