Spelling + Readme/Changelog updates
This commit is contained in:
parent
f3ef4e64f1
commit
1f5bef1caf
|
@ -12,6 +12,7 @@ changed to just run docker commands in the Makefile. See `make docker-run` and
|
|||
- [#325](https://github.com/influxdb/telegraf/pull/325): NSQ output. Thanks @jrxFive!
|
||||
- [#318](https://github.com/influxdb/telegraf/pull/318): Prometheus output. Thanks @oldmantaiter!
|
||||
- [#338](https://github.com/influxdb/telegraf/pull/338): Restart Telegraf on package upgrade. Thanks @linsomniac!
|
||||
- [#350](https://github.com/influxdb/telegraf/pull/350): Amon output.
|
||||
|
||||
### Bugfixes
|
||||
- [#331](https://github.com/influxdb/telegraf/pull/331): Dont overwrite host tag in redis plugin.
|
||||
|
|
|
@ -225,6 +225,7 @@ found by running `telegraf -sample-config`.
|
|||
* mqtt
|
||||
* librato
|
||||
* prometheus
|
||||
* amon
|
||||
|
||||
## Contributing
|
||||
|
||||
|
|
|
@ -25,8 +25,8 @@ var sampleConfig = `
|
|||
# Amon Server Key
|
||||
serverkey = "my-server-key" # required.
|
||||
|
||||
# Amon Insance URL
|
||||
amoninstance = "https://youramoninstance" # required
|
||||
# Amon Instance URL
|
||||
amon_instance = "https://youramoninstance" # required
|
||||
|
||||
# Connection timeout.
|
||||
# timeout = "5s"
|
||||
|
@ -45,7 +45,7 @@ type Point [2]float64
|
|||
|
||||
func (a *Amon) Connect() error {
|
||||
if a.ServerKey == "" || a.AmonInstance == "" {
|
||||
return fmt.Errorf("serverkey and amoninstance are required fields for amon output")
|
||||
return fmt.Errorf("serverkey and amon_instance are required fields for amon output")
|
||||
}
|
||||
a.client = &http.Client{
|
||||
Timeout: a.Timeout.Duration,
|
||||
|
|
Loading…
Reference in New Issue