prometheus-rspamd-exporter: fix for new json exporter syntax
This commit is contained in:
parent
0a75e25dac
commit
da85657a6c
|
@ -13,7 +13,7 @@ let
|
|||
generateConfig = extraLabels: {
|
||||
metrics = (map (path: {
|
||||
name = "rspamd_${replaceStrings [ "." " " ] [ "_" "_" ] path}";
|
||||
path = "$.${path}";
|
||||
path = "{ .${path} }";
|
||||
labels = extraLabels;
|
||||
}) [
|
||||
"actions.'add header'"
|
||||
|
|
Loading…
Reference in New Issue