Closed ivanov17 closed 4 months ago
I just tested receiving graphite metrics from rspamd using socat container (very useful thing, highly recommended for debugging). This is the problem on the rspamd side:
2024/06/23 07:26:00 socat[2] W address is opened in read-write mode but only supports write-only
rspamd.actions.add_header nil 1719127560
rspamd.actions.greylist nil 1719127560
rspamd.actions.no_action nil 1719127560
rspamd.actions.reject nil 1719127560
rspamd.actions.rewrite_subject nil 1719127560
rspamd.actions.soft_reject nil 1719127560
rspamd.bytes_allocated 27822416 1719127560
rspamd.chunks_allocated 113 1719127560
rspamd.chunks_freed 0 1719127560
rspamd.chunks_oversized 1 1719127560
rspamd.connections 0 1719127560
rspamd.control_connections 0 1719127560
rspamd.ham_count 0 1719127560
rspamd.learned 0 1719127560
rspamd.pools_allocated 28 1719127560
rspamd.pools_freed 0 1719127560
rspamd.scanned 0 1719127560
rspamd.shared_chunks_allocated 3 1719127560
rspamd.spam_count 0 1719127560
So, I'm closing this issue.
Hello. When I try to process graphite metrics from rspamd, I get following errors:
It looks like the problem is with the
nil
value which exporter cannot handle. I'm not sure I understand the rspamd module code to see where thenil
might appear.Does it work as intended or this is the bug? If there are no problems on the exporter side, let me know and I will open an issue for rspamd.
Mapping configuration: