services.prometheus.scrapeConfigs.*.relabel_configs.*.action

NixOS option

Action to perform based on regex matching. Defaults to replace in prometheus when set to null.

type: null or one of "replace", "lowercase", "uppercase", "keep", "drop", "hashmod", "labelmap", "labeldrop", "labelkeep"
Default
null
declared in: nixos/modules/services/monitoring/prometheus/default.nixView source on NixOS/nixpkgs →