git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #107890 from cpcloud/prom-more-relabel-actions

nixos/prometheus: update relabel_action list

commita6e50716bd5db56903b2b1044be308e12d466e53 authorMaximilian Bosch <maximilian@mbosch.me> dateSun 3 Jan 2021, 19:27 (6 years ago) parent0d9e4d2287939e
1 file changed+2−2
nixos/modules/services/monitoring/prometheus/default.nix+2−2
nixos/modules/services/monitoring/prometheus/default.nix+2−2
@@ -585,10 +585,10 @@ let
585585 regular expression matches.
586586 '';
587587
588− action = mkDefOpt (types.enum ["replace" "keep" "drop"]) "replace" ''
588+ action =
589+ mkDefOpt (types.enum ["replace" "keep" "drop" "hashmod" "labelmap" "labeldrop" "labelkeep"]) "replace" ''
589590 Action to perform based on regex matching.
590591 '';
591−
592592 };
593593 };
594594