|
|
@ -47,7 +47,7 @@ |
|
|
|
## Run telegraf in quiet mode |
|
|
|
## Run telegraf in quiet mode |
|
|
|
quiet = false |
|
|
|
quiet = false |
|
|
|
## Override default hostname, if empty use os.Hostname() |
|
|
|
## Override default hostname, if empty use os.Hostname() |
|
|
|
hostname = "lenovo" |
|
|
|
hostname = "" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
############################################################################### |
|
|
|
############################################################################### |
|
|
@ -70,6 +70,7 @@ |
|
|
|
## Write timeout (for the InfluxDB client), formatted as a string. |
|
|
|
## Write timeout (for the InfluxDB client), formatted as a string. |
|
|
|
## If not provided, will default to 5s. 0s means no timeout (not recommended). |
|
|
|
## If not provided, will default to 5s. 0s means no timeout (not recommended). |
|
|
|
timeout = "5s" |
|
|
|
timeout = "5s" |
|
|
|
|
|
|
|
|
|
|
|
username = "" |
|
|
|
username = "" |
|
|
|
password = "" |
|
|
|
password = "" |
|
|
|
# Set the user agent for HTTP POSTs (can be useful for log differentiation) |
|
|
|
# Set the user agent for HTTP POSTs (can be useful for log differentiation) |
|
|
|