Merge pull request #107890 from cpcloud/prom-more-relabel-actions

nixos/prometheus: update relabel_action list
This commit is contained in:
Maximilian Bosch 2021-01-03 19:27:46 +01:00 committed by GitHub
commit a6e50716bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -585,10 +585,10 @@ let
regular expression matches.
'';
action = mkDefOpt (types.enum ["replace" "keep" "drop"]) "replace" ''
action =
mkDefOpt (types.enum ["replace" "keep" "drop" "hashmod" "labelmap" "labeldrop" "labelkeep"]) "replace" ''
Action to perform based on regex matching.
'';
};
};