Commit d5fb096
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 3ea5fde commit d5fb096
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 | | |
| |||
694 | 695 | | |
695 | 696 | | |
696 | 697 | | |
697 | | - | |
| 698 | + | |
| 699 | + | |
| 700 | + | |
| 701 | + | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
698 | 705 | | |
699 | 706 | | |
700 | 707 | | |
| |||
712 | 719 | | |
713 | 720 | | |
714 | 721 | | |
715 | | - | |
| 722 | + | |
| 723 | + | |
| 724 | + | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
716 | 729 | | |
717 | 730 | | |
718 | 731 | | |
| |||
1118 | 1131 | | |
1119 | 1132 | | |
1120 | 1133 | | |
1121 | | - | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
1122 | 1141 | | |
1123 | 1142 | | |
| 1143 | + | |
| 1144 | + | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
1124 | 1148 | | |
1125 | 1149 | | |
1126 | 1150 | | |
| |||
| 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