services.prometheus.scrapeConfigs.*.triton_sd_configs.*.role

NixOS option

The type of targets to discover, can be set to: “container” to discover virtual machines (SmartOS zones, lx/KVM/bhyve branded zones) running on Triton “cn” to discover compute nodes (servers/global zones) making up the Triton infrastructure Defaults to container in prometheus when set to null.

type: null or one of "container", "cn"
Default
null
declared in: nixos/modules/services/monitoring/prometheus/default.nixView source on NixOS/nixpkgs →