mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
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
Block a user