Skip to content

Commit

Permalink
Clarify influxdb output url format
Browse files Browse the repository at this point in the history
  • Loading branch information
danielnelson authored and calerogers committed Apr 5, 2017
1 parent 3f6706a commit fb851ad
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion plugins/outputs/influxdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ This plugin writes to [InfluxDB](https://www.influxdb.com) via HTTP or UDP.
```toml
# Configuration for influxdb server to send metrics to
[[outputs.influxdb]]
## The full HTTP or UDP endpoint URL for your InfluxDB instance.
## The HTTP or UDP URL for your InfluxDB instance. Each item should be
## of the form:
## scheme "://" host [ ":" port]
##
## Multiple urls can be specified as part of the same cluster,
## this means that only ONE of the urls will be written to each interval.
# urls = ["udp://localhost:8089"] # UDP endpoint example
Expand Down
5 changes: 4 additions & 1 deletion plugins/outputs/influxdb/influxdb.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ type InfluxDB struct {
}

var sampleConfig = `
## The full HTTP or UDP endpoint URL for your InfluxDB instance.
## The HTTP or UDP URL for your InfluxDB instance. Each item should be
## of the form:
## scheme "://" host [ ":" port]
##
## Multiple urls can be specified as part of the same cluster,
## this means that only ONE of the urls will be written to each interval.
# urls = ["udp://localhost:8089"] # UDP endpoint example
Expand Down

0 comments on commit fb851ad

Please sign in to comment.