prometheus-rspamd-exporter: fix for new json exporter syntax

Changed files
+1 -1
nixos
modules
services
monitoring
prometheus
exporters
+1 -1
nixos/modules/services/monitoring/prometheus/exporters/rspamd.nix
···
generateConfig = extraLabels: {
metrics = (map (path: {
name = "rspamd_${replaceStrings [ "." " " ] [ "_" "_" ] path}";
-
path = "$.${path}";
+
path = "{ .${path} }";
labels = extraLabels;
}) [
"actions.'add header'"