mox/webmail
Mechiel Lukkien 3620d6f05e
initialize metric mox_panic_total with 0, so the alerting rule also catches the first panic for a label
increase() and rate() don't seem to assume a previous value of 0 when a vector
gets a first value for a label. you would think that an increase() on a
first-value mox_panic_total{"..."}=1 would return 1, and similar for rate(), but
that doesn't appear to be the behaviour. so we just explicitly initialize the
count to 0 for each possible label value. mox has more vector metrics, but
panics feels like the most important, and it's too much code to initialize them
all, for all combinations of label values. there is probably a better way that
fixes this for all cases...
2023-09-15 16:47:17 +02:00
..
api.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
api.json implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
api.ts implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
api_test.go fix race in test setup/teardown 2023-08-07 23:14:31 +02:00
eventwriter.go initialize metric mox_panic_total with 0, so the alerting rule also catches the first panic for a label 2023-09-15 16:47:17 +02:00
lib.ts webmail: don't lose display of additional headers when a flag/keyword changes (e.g. marked as read) 2023-08-11 08:38:57 +02:00
message.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
message_test.go when making a message preview, also recognize []-enclosed "horizontal ellipsis" unicode character as a snip 2023-09-11 14:41:50 +02:00
msg.html add webmail 2023-08-07 21:57:03 +02:00
msg.js implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
msg.ts webmail: don't lose display of additional headers when a flag/keyword changes (e.g. marked as read) 2023-08-11 08:38:57 +02:00
text.html add webmail 2023-08-07 21:57:03 +02:00
text.js implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
text.ts add webmail 2023-08-07 21:57:03 +02:00
view.go initialize metric mox_panic_total with 0, so the alerting rule also catches the first panic for a label 2023-09-15 16:47:17 +02:00
view_test.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
webmail.go initialize metric mox_panic_total with 0, so the alerting rule also catches the first panic for a label 2023-09-15 16:47:17 +02:00
webmail.html implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
webmail.js webmail: new shortcut "T" for showing html version of email, and t for text version 2023-09-15 15:51:59 +02:00
webmail.ts webmail: new shortcut "T" for showing html version of email, and t for text version 2023-09-15 15:51:59 +02:00
webmail_test.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00