diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2021-01-03 19:27:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-03 19:27:46 +0100 |
commit | a6e50716bd5db56903b2b1044be308e12d466e53 (patch) | |
tree | 18022a4bb3a2c11a9b360fdeb917797e9db3c214 | |
parent | 0d9e4d223f92c33adf0e7edc483b7d887142717a (diff) | |
parent | 287939e2eddcc79c9cb87b9865f207382e810350 (diff) |
Merge pull request #107890 from cpcloud/prom-more-relabel-actions
nixos/prometheus: update relabel_action list
-rw-r--r-- | nixos/modules/services/monitoring/prometheus/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/default.nix b/nixos/modules/services/monitoring/prometheus/default.nix index 19741b46f24e6..4f9be38f7f14a 100644 --- a/nixos/modules/services/monitoring/prometheus/default.nix +++ b/nixos/modules/services/monitoring/prometheus/default.nix @@ -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. ''; - }; }; |