mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-23 08:57:35 +00:00
fix(service/sending): Restart crashed sender workers and resend queued backlogs
Signed-off-by: Erwan Leboucher <erwanleboucher@gmail.com>
This commit is contained in:
1 parent
919fea9b97
commit
cf45dcffbb
12 files changed
+415
-85
No files matched your search
@@ -21,6 +21,7 @@ pub struct Instruments {
|
||||
pub sender_transaction_duration: Histogram<f64>,
|
||||
pub sender_events: Counter<u64>,
|
||||
pub sender_events_queued: Counter<u64>,
|
||||
pub sender_panics: Counter<u64>,
|
||||
|
||||
pub media_write_size: Histogram<u64>,
|
||||
pub media_read_size: Histogram<u64>,
|
||||
@@ -116,6 +117,11 @@ impl Instruments {
|
||||
.with_description("PDUs and EDUs queued for sending")
|
||||
.with_unit("{event}")
|
||||
.build(),
|
||||
sender_panics: meter
|
||||
.u64_counter("continuwuity.sender.panics")
|
||||
.with_description("Panics caught in outgoing transactions and sender workers")
|
||||
.with_unit("{panic}")
|
||||
.build(),
|
||||
|
||||
media_write_size: size(
|
||||
"continuwuity.media.write.size",
|
||||
|
||||
Reference in new issue
Block a user