summary refs log tree commit diff
path: root/nixos/modules/services/monitoring/prometheus/default.nix
diff options
context:
space:
mode:
authorPhillip Cloud <cloud@standard.ai>2020-12-29 11:53:17 -0500
committerPhillip Cloud <cloud@standard.ai>2021-01-03 11:01:30 -0500
commit287939e2eddcc79c9cb87b9865f207382e810350 (patch)
treebbf3061c77cdaadc9d8b3093fe75e3913304a63a /nixos/modules/services/monitoring/prometheus/default.nix
parentdfd80244d204208b81b6ae29a018422c643dce11 (diff)
downloadnixpkgs-287939e2eddcc79c9cb87b9865f207382e810350.tar
nixpkgs-287939e2eddcc79c9cb87b9865f207382e810350.tar.gz
nixpkgs-287939e2eddcc79c9cb87b9865f207382e810350.tar.bz2
nixpkgs-287939e2eddcc79c9cb87b9865f207382e810350.tar.lz
nixpkgs-287939e2eddcc79c9cb87b9865f207382e810350.tar.xz
nixpkgs-287939e2eddcc79c9cb87b9865f207382e810350.tar.zst
nixpkgs-287939e2eddcc79c9cb87b9865f207382e810350.zip
nixos/prometheus: update relabel_action list
Diffstat (limited to 'nixos/modules/services/monitoring/prometheus/default.nix')
-rw-r--r--nixos/modules/services/monitoring/prometheus/default.nix4
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 19741b46f24..4f9be38f7f1 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.
       '';
-
     };
   };