use localhost by default
should make the config work with very little modification
This commit is contained in:
parent
1653330421
commit
434e06ceda
|
@ -238,7 +238,7 @@ var header = `# Telegraf configuration
|
||||||
# Configuration for influxdb server to send metrics to
|
# Configuration for influxdb server to send metrics to
|
||||||
[influxdb]
|
[influxdb]
|
||||||
# The full HTTP endpoint URL for your InfluxDB instance
|
# The full HTTP endpoint URL for your InfluxDB instance
|
||||||
url = "http://10.20.2.4:8086" # required.
|
url = "http://localhost:8086" # required.
|
||||||
|
|
||||||
# The target database for metrics. This database must already exist
|
# The target database for metrics. This database must already exist
|
||||||
database = "telegraf" # required.
|
database = "telegraf" # required.
|
||||||
|
|
Loading…
Reference in New Issue