Merge pull request #162057 from jdheyburn/jdheyburn-unifi-prometheus-exporter-loki
This commit is contained in:
commit
286f868a5c
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ let
|
|||
http_listen = "${cfg.listenAddress}:${toString cfg.port}";
|
||||
report_errors = cfg.log.prometheusErrors;
|
||||
};
|
||||
inherit (cfg) loki;
|
||||
});
|
||||
|
||||
in {
|
||||
|
@ -20,6 +21,7 @@ in {
|
|||
|
||||
extraOpts = {
|
||||
inherit (options.services.unifi-poller.unifi) controllers;
|
||||
inherit (options.services.unifi-poller) loki;
|
||||
log = {
|
||||
debug = mkEnableOption (lib.mdDoc "debug logging including line numbers, high resolution timestamps, per-device logs.");
|
||||
quiet = mkEnableOption (lib.mdDoc "startup and error logs only.");
|
||||
|
|
Loading…
Reference in a new issue