Skip to content

Commit

Permalink
Documentation for load balancing on graphite output servers (#1469)
Browse files Browse the repository at this point in the history
* Added documentation for load balancing on graphite output servers

* clarifications

* updates1

* updates2

* updates3
  • Loading branch information
Kostas Botsas authored and sparrc committed Jul 14, 2016
1 parent bb4f18c commit 7b550c1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions etc/telegraf.conf
Expand Up @@ -197,6 +197,8 @@
# # Configuration for Graphite server to send metrics to
# [[outputs.graphite]]
# ## TCP endpoint for your graphite instance.
# ## If multiple endpoints are configured, the output will be load balanced.
# ## Only one of the endpoints will be written to with each iteration.
# servers = ["localhost:2003"]
# ## Prefix metrics name
# prefix = ""
Expand Down
2 changes: 2 additions & 0 deletions plugins/outputs/graphite/README.md
Expand Up @@ -9,6 +9,8 @@ via raw TCP.
# Configuration for Graphite server to send metrics to
[[outputs.graphite]]
## TCP endpoint for your graphite instance.
## If multiple endpoints are configured, the output will be load balanced.
## Only one of the endpoints will be written to with each iteration.
servers = ["localhost:2003"]
## Prefix metrics name
prefix = ""
Expand Down
2 changes: 2 additions & 0 deletions plugins/outputs/graphite/graphite.go
Expand Up @@ -25,6 +25,8 @@ type Graphite struct {

var sampleConfig = `
## TCP endpoint for your graphite instance.
## If multiple endpoints are configured, output will be load balanced.
## Only one of the endpoints will be written to with each iteration.
servers = ["localhost:2003"]
## Prefix metrics name
prefix = ""
Expand Down

0 comments on commit 7b550c1

Please sign in to comment.