diff options
author | Jeff Slight <jslight90@gmail.com> | 2022-12-07 15:22:04 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-07 15:22:04 -0800 |
commit | 61840f7181bc17f3c808fcae5acc656a2408ab7b (patch) | |
tree | a21185744b67d1dece51f607bbfd27e56f59496e /nixos/modules/services/monitoring | |
parent | 5108c96e98d38658e3f8668b5a96461df3c03382 (diff) | |
download | nixpkgs-61840f7181bc17f3c808fcae5acc656a2408ab7b.tar nixpkgs-61840f7181bc17f3c808fcae5acc656a2408ab7b.tar.gz nixpkgs-61840f7181bc17f3c808fcae5acc656a2408ab7b.tar.bz2 nixpkgs-61840f7181bc17f3c808fcae5acc656a2408ab7b.tar.lz nixpkgs-61840f7181bc17f3c808fcae5acc656a2408ab7b.tar.xz nixpkgs-61840f7181bc17f3c808fcae5acc656a2408ab7b.tar.zst nixpkgs-61840f7181bc17f3c808fcae5acc656a2408ab7b.zip |
nixos/prometheus: Add new relabel_configs actions
The relabel_configs option for scrape_configs is missing two options: lowercase and uppercase https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
Diffstat (limited to 'nixos/modules/services/monitoring')
-rw-r--r-- | nixos/modules/services/monitoring/prometheus/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/monitoring/prometheus/default.nix b/nixos/modules/services/monitoring/prometheus/default.nix index f6bae8f9e96..b295f0d5cc7 100644 --- a/nixos/modules/services/monitoring/prometheus/default.nix +++ b/nixos/modules/services/monitoring/prometheus/default.nix @@ -1409,7 +1409,7 @@ let ''; action = - mkDefOpt (types.enum [ "replace" "keep" "drop" "hashmod" "labelmap" "labeldrop" "labelkeep" ]) "replace" '' + mkDefOpt (types.enum [ "replace" "lowercase" "uppercase" "keep" "drop" "hashmod" "labelmap" "labeldrop" "labelkeep" ]) "replace" '' Action to perform based on regex matching. ''; }; |