Initial generalization of source workers
This commit is contained in:
@@ -1,16 +1,29 @@
|
||||
[sources.chrony]
|
||||
enabled = true
|
||||
poll_interval = 10
|
||||
timeout = 1
|
||||
measurement_prefix = "chrony."
|
||||
tracking_measurement = "tracking"
|
||||
sources_measurement = "sources"
|
||||
[sources]
|
||||
[sources.chrony]
|
||||
enabled = true
|
||||
# host = "127.0.0.1:323" # default; port is required
|
||||
tracking_interval = 10
|
||||
sources_interval = 60
|
||||
timeout = 1
|
||||
measurement_prefix = "chrony."
|
||||
tracking_measurement = "tracking"
|
||||
sources_measurement = "sources"
|
||||
|
||||
[sources.hwmon]
|
||||
enabled = true
|
||||
interval = 60
|
||||
measurement_prefix = "hwmon."
|
||||
|
||||
[sources.hwmon.sensors.temp1]
|
||||
name = "hwmon0"
|
||||
sensor = "temp1_input"
|
||||
|
||||
[influxdb]
|
||||
# url = "http://localhost:8086" # defaults to localhost
|
||||
url = "http://localhost:8086"
|
||||
org = "default"
|
||||
bucket = "default"
|
||||
token = ""
|
||||
|
||||
[influxdb.tags]
|
||||
# host = "localhost" # defaults to gethostname()
|
||||
# host = "qubit" # default is the local hostname
|
||||
# arbitrary = "tags" # are allowed
|
||||
Reference in New Issue
Block a user