services.prometheus.scrapeConfigs.*.metric_relabel_configs.*.regex

Regular expression against which the extracted value is matched.

Defaults to (.*) in prometheus when set to null.

Type
null or string
Default
null
Declared
<nixpkgs/nixos/modules/services/monitoring/prometheus/default.nix>