mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +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" {
|
if req.Method == "DELETE" {
|
||||||
apimetrics.Reset()
|
apimetrics.Reset()
|
||||||
etcd3metrics.Reset()
|
etcd3metrics.Reset()
|
||||||
|
flowcontrolmetrics.Reset()
|
||||||
|
|
||||||
io.WriteString(w, "metrics reset\n")
|
io.WriteString(w, "metrics reset\n")
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user