MyNixOS website logo
option

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

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.

Declarations
Type
null or one of "container", "cn"
Default
null