mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
remove prometheus dos via protocol.
Clean up unused labely to keep prometheus values down
This commit is contained in:
parent
1afe3b7de5
commit
18aefa8dbf
@ -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