mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Merge branch 'xMAC94x/prometheus_improvements' into 'master'
remove prometheus dos via protocol. See merge request veloren/veloren!1955
This commit is contained in:
commit
d088694281
@ -366,6 +366,11 @@ impl Drop for ProtocolMetricCache {
|
||||
let _ = m.rmsg_ob.remove_label_values(&[&cid, &s, &finished]);
|
||||
let _ = m.rmsg_ob.remove_label_values(&[&cid, &s, &dropped]);
|
||||
}
|
||||
let _ = m.ping.remove_label_values(&[&cid]);
|
||||
let _ = m.sdata_frames_t.remove_label_values(&[&cid]);
|
||||
let _ = m.sdata_frames_b.remove_label_values(&[&cid]);
|
||||
let _ = m.rdata_frames_t.remove_label_values(&[&cid]);
|
||||
let _ = m.rdata_frames_b.remove_label_values(&[&cid]);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user