services.prometheus.exporters.process.settings.process_names

NixOS option

All settings expressed as an Nix attrset. Check the official documentation for the corresponding YAML settings that can all be used here: https://github.com/ncabatoff/process-exporter

type: list of anything
Default
[ ]
Example
[
  # Remove nix store path from process name
  { name = "{{.Matches.Wrapped}} {{ .Matches.Args }}"; cmdline = [ "^/nix/store[^ ]*/(?P<Wrapped>[^ /]*) (?P<Args>.*)" ]; }
]
declared in: nixos/modules/services/monitoring/prometheus/exporters.nixView source on NixOS/nixpkgs →