Commit 6157a5f
committed
Add spacetime_worker_sender_errors_total metric
Currently we have a metric for reducer panics called
`spacetime_worker_wasm_instance_errors_total`. This commit adds a
metric for tracking errors returned from the module, like for example an
Err result in Rust, or throwing a SenderError in TypeScript1 parent 08011a7 commit 6157a5f
File tree
2 files changed
+32
-3
lines changed- crates/core/src
- host/wasm_common
- worker_metrics
2 files changed
+32
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
601 | 602 | | |
602 | 603 | | |
603 | 604 | | |
604 | | - | |
| 605 | + | |
| 606 | + | |
| 607 | + | |
| 608 | + | |
| 609 | + | |
| 610 | + | |
| 611 | + | |
605 | 612 | | |
606 | 613 | | |
607 | 614 | | |
| |||
619 | 626 | | |
620 | 627 | | |
621 | 628 | | |
622 | | - | |
| 629 | + | |
| 630 | + | |
| 631 | + | |
| 632 | + | |
| 633 | + | |
| 634 | + | |
| 635 | + | |
623 | 636 | | |
624 | 637 | | |
625 | 638 | | |
| |||
902 | 915 | | |
903 | 916 | | |
904 | 917 | | |
905 | | - | |
| 918 | + | |
| 919 | + | |
| 920 | + | |
| 921 | + | |
| 922 | + | |
| 923 | + | |
| 924 | + | |
906 | 925 | | |
907 | 926 | | |
| 927 | + | |
| 928 | + | |
| 929 | + | |
| 930 | + | |
| 931 | + | |
908 | 932 | | |
909 | 933 | | |
910 | 934 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
249 | 254 | | |
250 | 255 | | |
251 | 256 | | |
| |||
0 commit comments