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.
Declarations
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>.*)" ]; }
]
</args></wrapped>