mirror of
https://github.com/hansjone/netx.git
synced 2026-10-09 04:20:45 +08:00
Adopt production-safe runtime defaults and forwarder retry limits.
Lower CLI/WebCRT/audit caps, log startup capacity warnings, and bound oclaw requeues so reconnect storms cannot thrash memory. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
d56020d84c
commit
fa577aa3bd
22 changed files with 238 additions and 69 deletions
|
|
@ -83,6 +83,9 @@ def _prom_lines(metrics: dict[str, Any]) -> str:
|
|||
("queue_size", "netx_oclaw_forwarder_queue_size"),
|
||||
("published_ok", "netx_oclaw_forwarder_published_ok"),
|
||||
("published_fail", "netx_oclaw_forwarder_published_fail"),
|
||||
("dropped", "netx_oclaw_forwarder_dropped"),
|
||||
("requeued", "netx_oclaw_forwarder_requeued"),
|
||||
("retry_exhausted", "netx_oclaw_forwarder_retry_exhausted"),
|
||||
):
|
||||
if key in fwd:
|
||||
lines.append(f"{prom} {int(fwd.get(key) or 0)}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue