conduit: Add coturn monitoring
This commit is contained in:
parent
214c59b7b3
commit
c373911a1b
|
@ -173,6 +173,9 @@ in {
|
||||||
# Various other security settings
|
# Various other security settings
|
||||||
no-tlsv1
|
no-tlsv1
|
||||||
no-tlsv1_1
|
no-tlsv1_1
|
||||||
|
|
||||||
|
# Monitoring
|
||||||
|
prometheus
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -141,7 +141,10 @@ in {
|
||||||
targets =
|
targets =
|
||||||
lib.mapAttrsToList (name: exporter: "${exporter.listenAddress}:${toString exporter.port}")
|
lib.mapAttrsToList (name: exporter: "${exporter.listenAddress}:${toString exporter.port}")
|
||||||
(lib.filterAttrs (name: exporter: (builtins.isAttrs exporter) && exporter.enable)
|
(lib.filterAttrs (name: exporter: (builtins.isAttrs exporter) && exporter.enable)
|
||||||
(config.services.prometheus.exporters // config.services.prometheus.local-exporters));
|
(config.services.prometheus.exporters // config.services.prometheus.local-exporters))
|
||||||
|
++ [
|
||||||
|
"127.0.0.1:9641" # coturn
|
||||||
|
];
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue