Tweak config messages for graphite. Update changelog and readme
closes #494
This commit is contained in:
parent
ef5c630d3a
commit
8cbdf0f907
|
@ -7,6 +7,7 @@
|
||||||
- [#519](https://github.com/influxdata/telegraf/pull/519): Added a sensors input based on lm-sensors. Thanks @md14454!
|
- [#519](https://github.com/influxdata/telegraf/pull/519): Added a sensors input based on lm-sensors. Thanks @md14454!
|
||||||
- [#467](https://github.com/influxdata/telegraf/issues/467): Add option to disable statsd measurement name conversion.
|
- [#467](https://github.com/influxdata/telegraf/issues/467): Add option to disable statsd measurement name conversion.
|
||||||
- [#534](https://github.com/influxdata/telegraf/pull/534): NSQ input plugin. Thanks @allingeek!
|
- [#534](https://github.com/influxdata/telegraf/pull/534): NSQ input plugin. Thanks @allingeek!
|
||||||
|
- [#494](https://github.com/influxdata/telegraf/pull/494): Graphite output plugin. Thanks @titilambert!
|
||||||
|
|
||||||
### Bugfixes
|
### Bugfixes
|
||||||
- [#506](https://github.com/influxdb/telegraf/pull/506): Ping input doesn't return response time metric when timeout. Thanks @titilambert!
|
- [#506](https://github.com/influxdb/telegraf/pull/506): Ping input doesn't return response time metric when timeout. Thanks @titilambert!
|
||||||
|
|
|
@ -152,6 +152,7 @@ Currently implemented sources:
|
||||||
* mongodb
|
* mongodb
|
||||||
* mysql
|
* mysql
|
||||||
* nginx
|
* nginx
|
||||||
|
* nsq
|
||||||
* phpfpm
|
* phpfpm
|
||||||
* ping
|
* ping
|
||||||
* postgresql
|
* postgresql
|
||||||
|
@ -188,6 +189,7 @@ want to add support for another service or third-party API.
|
||||||
* amon
|
* amon
|
||||||
* amqp
|
* amqp
|
||||||
* datadog
|
* datadog
|
||||||
|
* graphite
|
||||||
* kafka
|
* kafka
|
||||||
* amazon kinesis
|
* amazon kinesis
|
||||||
* librato
|
* librato
|
||||||
|
|
|
@ -21,12 +21,12 @@ type Graphite struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
var sampleConfig = `
|
var sampleConfig = `
|
||||||
# TCP raw endpoint for your graphite instance.
|
# TCP endpoint for your graphite instance.
|
||||||
servers = ["mygraphiteserver:2003"] # default "localhost:2003"
|
servers = ["localhost:2003"]
|
||||||
# Prefix metrics name
|
# Prefix metrics name
|
||||||
prefix = "" # default ""
|
prefix = ""
|
||||||
# Connection timeout in second (for the connection with Carbon(Graphite))
|
# timeout in seconds for the write connection to graphite
|
||||||
timeout = 2 # default 2s
|
timeout = 2
|
||||||
`
|
`
|
||||||
|
|
||||||
func (g *Graphite) Connect() error {
|
func (g *Graphite) Connect() error {
|
||||||
|
@ -62,7 +62,7 @@ func (g *Graphite) SampleConfig() string {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (g *Graphite) Description() string {
|
func (g *Graphite) Description() string {
|
||||||
return "Configuration for Graphite server to send metrics to using TCP raw protocol"
|
return "Configuration for Graphite server to send metrics to"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Choose a random server in the cluster to write to until a successful write
|
// Choose a random server in the cluster to write to until a successful write
|
||||||
|
|
Loading…
Reference in New Issue