mox/store
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
..
account.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
account_test.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
export.go update to latest bstore (with support for an index on a []string: Message.DKIMDomains), and cyclic data types (to be used for Message.Part soon); also adds a context.Context to database operations. 2023-05-22 14:40:36 +02:00
export_test.go fix race in test setup/teardown 2023-08-07 23:14:31 +02:00
import.go add webmail 2023-08-07 21:57:03 +02:00
import_test.go add webmail 2023-08-07 21:57:03 +02:00
msgreader.go mox! 2023-01-30 14:27:06 +01:00
msgreader_test.go mox! 2023-01-30 14:27:06 +01:00
search.go implement decoding charsets (other than ascii and utf-8) while reading textual message parts, and improve search 2023-07-28 22:15:23 +02:00
state.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
threads.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
threads_test.go implement message threading in backend and webmail 2023-09-13 15:44:57 +02:00
tmp.go move "link or copy" functionality to moxio 2023-07-23 12:15:29 +02:00
train.go update to latest bstore (with support for an index on a []string: Message.DKIMDomains), and cyclic data types (to be used for Message.Part soon); also adds a context.Context to database operations. 2023-05-22 14:40:36 +02:00
validation.go mox! 2023-01-30 14:27:06 +01:00