mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 12:29:19 -08:00
chore(monitoring): ignore unsupported exporter
This commit is contained in:
parent
de12febf68
commit
52e89c43c0
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ in {
|
|||
};
|
||||
networking.firewall.interfaces.lan.allowedTCPPorts = let
|
||||
# blacklist broken/deprecated exporters
|
||||
allExporters = removeAttrs config.services.prometheus.exporters ["unifi-poller" "minio"];
|
||||
allExporters = removeAttrs config.services.prometheus.exporters ["unifi-poller" "minio" "tor"];
|
||||
enablePort = fallback: exporter: exporter.enable or fallback && !exporter.openFirewall or (!fallback);
|
||||
mkExporterPorts = name: exporters': let
|
||||
exporters = toList exporters';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue