MyNixOS website logo
option

services.prometheus.exporters.script.settings.scripts

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/adhocteam/script_exporter#sample-configuration.

Declarations
Type
list of (submodule)
Example
{
  scripts = [
    { name = "sleep"; script = "sleep 5"; }
  ];
}