Use ip address for default InfluxDB ip in config

Helps with initial setup if localhost cannot be resolved due to the pure
go resolver.
This commit is contained in:
Daniel Nelson
2017-09-05 12:55:21 -07:00
parent 98e784faf3
commit 9796d3c99d
6 changed files with 41 additions and 21 deletions

View File

@@ -22,11 +22,11 @@ example configuratio with `@id` parameter for http plugin:
[[inputs.fluentd]]
## This plugin reads information exposed by fluentd (using /api/plugins.json endpoint).
##
## Endpoint:
## Endpoint:
## - only one URI is allowed
## - https is not supported
endpoint = "http://localhost:24220/api/plugins.json"
## Define which plugins have to be excluded (based on "type" field - e.g. monitor_agent)
exclude = [
"monitor_agent",

View File

@@ -18,11 +18,11 @@ const (
sampleConfig = `
## This plugin reads information exposed by fluentd (using /api/plugins.json endpoint).
##
## Endpoint:
## Endpoint:
## - only one URI is allowed
## - https is not supported
endpoint = "http://localhost:24220/api/plugins.json"
## Define which plugins have to be excluded (based on "type" field - e.g. monitor_agent)
exclude = [
"monitor_agent",