]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Feature] Add control protocol command for composites statistics 5764/head
authorVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 27 Nov 2025 10:39:54 +0000 (10:39 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Thu, 27 Nov 2025 10:39:54 +0000 (10:39 +0000)
commit1b2fd7b0fc644e1adffd00d0ff7139b7ddc549a4
tree7eced964b40e7b250192c6cc256640b9c42b6a0b
parentb0e3a18b8eacb07d9b562a8a72a09e3e540eeab4
[Feature] Add control protocol command for composites statistics

- Add RSPAMD_CONTROL_COMPOSITES_STATS command to control protocol
- Add /compositesstats endpoint to control socket
- Add 'rspamadm control compositesstats' command
- Aggregate statistics from all workers with per-worker breakdown
- Remove composites stats from controller /stat (use control socket instead)
- Statistics always collected, timing sampled 1/256 (configurable)
src/controller.c
src/libserver/composites/composites.cxx
src/libserver/rspamd_control.c
src/libserver/rspamd_control.h
src/rspamadm/control.c