use localhost by default

should make the config work with very little modification
This commit is contained in:
Sean Beckett 2015-05-22 17:09:20 -07:00
parent 1653330421
commit 434e06ceda
1 changed files with 1 additions and 1 deletions

View File

@ -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.