Call it mode.

This commit is contained in:
David Newhall II
2019-06-23 19:55:26 -07:00
parent e650f1f412
commit df46550a4f
8 changed files with 48 additions and 22 deletions
+10 -4
View File
@@ -36,11 +36,17 @@
<quiet>false</quiet>
<!--
# Lambda mode makes the application exit after collecting and reporting metrics one time.
# This mode requires an external process like an AWS Lambda or a simple crontab to keep
# the timings accurate on UniFi Poller run intervals.
# Which mode to run this application in. The default mode is "influx". Providing
# an invalid mode will also result in "influx". In this default mode the application
# runs as a daemon and polls the controller at the configured interval.
#
# There is only one other option at this time: "influxlambda"
#
# Lambda mode makes the application exit after collecting and reporting metrics
# to InfluxDB one time. This mode requires an external process like an AWS Lambda
# or a simple crontab to keep the timings accurate on UniFi Poller run intervals.
-->
<lambda>false</lambda>
<mode>influx</mode>
<!--
# If the poller experiences an error from the UniFi controller or from InfluxDB