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: {
|
generateConfig = extraLabels: {
|
||||||
metrics = (map (path: {
|
metrics = (map (path: {
|
||||||
name = "rspamd_${replaceStrings [ "." " " ] [ "_" "_" ] path}";
|
name = "rspamd_${replaceStrings [ "." " " ] [ "_" "_" ] path}";
|
||||||
path = "$.${path}";
|
path = "{ .${path} }";
|
||||||
labels = extraLabels;
|
labels = extraLabels;
|
||||||
}) [
|
}) [
|
||||||
"actions.'add header'"
|
"actions.'add header'"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user