Commit 59f0944
committed
[adapters] Report recent connector errors in the API.
Partially fixes #1108.
Today, connector errors are only reported in the log where they can be
difficult to find or get lost completely if the log is noisy.
This commit exposes connector errors via the REST API:
- We store up to a fixed number (100) most recent errors of each kind
(transport/encoder/parser) and for each tag (we reuse the same tags that were
recently introduced for log throttling).
- Old errors are evicted in FIFO order
- The error list is returned via
/tables/table_name/connectors/connector_name/stats endpoint, but not via
global /stats to avoid bloating the output of that endpoint.
Signed-off-by: Leonid Ryzhyk <ryzhyk@gmail.com>1 parent a87a15e commit 59f0944
File tree
7 files changed
+288
-69
lines changed- crates
- adapters/src
- controller
- feldera-types/src
- pipeline-manager/src/api
- docs.feldera.com/docs
7 files changed
+288
-69
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5701 | 5701 | | |
5702 | 5702 | | |
5703 | 5703 | | |
5704 | | - | |
| 5704 | + | |
5705 | 5705 | | |
5706 | 5706 | | |
5707 | 5707 | | |
| |||
6028 | 6028 | | |
6029 | 6029 | | |
6030 | 6030 | | |
6031 | | - | |
| 6031 | + | |
6032 | 6032 | | |
6033 | 6033 | | |
6034 | 6034 | | |
6035 | 6035 | | |
6036 | 6036 | | |
6037 | 6037 | | |
6038 | 6038 | | |
6039 | | - | |
| 6039 | + | |
6040 | 6040 | | |
6041 | 6041 | | |
6042 | 6042 | | |
| |||
6059 | 6059 | | |
6060 | 6060 | | |
6061 | 6061 | | |
6062 | | - | |
| 6062 | + | |
6063 | 6063 | | |
6064 | 6064 | | |
6065 | | - | |
| 6065 | + | |
6066 | 6066 | | |
6067 | 6067 | | |
6068 | 6068 | | |
| |||
6075 | 6075 | | |
6076 | 6076 | | |
6077 | 6077 | | |
6078 | | - | |
| 6078 | + | |
| 6079 | + | |
6079 | 6080 | | |
6080 | 6081 | | |
6081 | 6082 | | |
| |||
6092 | 6093 | | |
6093 | 6094 | | |
6094 | 6095 | | |
6095 | | - | |
| 6096 | + | |
6096 | 6097 | | |
6097 | | - | |
| 6098 | + | |
6098 | 6099 | | |
6099 | 6100 | | |
6100 | 6101 | | |
| |||
6111 | 6112 | | |
6112 | 6113 | | |
6113 | 6114 | | |
6114 | | - | |
| 6115 | + | |
6115 | 6116 | | |
6116 | 6117 | | |
6117 | | - | |
| 6118 | + | |
6118 | 6119 | | |
6119 | 6120 | | |
6120 | 6121 | | |
| |||
6682 | 6683 | | |
6683 | 6684 | | |
6684 | 6685 | | |
6685 | | - | |
| 6686 | + | |
6686 | 6687 | | |
6687 | 6688 | | |
6688 | 6689 | | |
| |||
0 commit comments