Fixes #130, document mysql plugin better, README
This commit is contained in:
parent
a449e4b47c
commit
bd85a36cb1
|
@ -133,11 +133,14 @@ path = [ "/opt", "/home" ]
|
||||||
|
|
||||||
## Supported Plugins
|
## Supported Plugins
|
||||||
|
|
||||||
Telegraf currently has support for collecting metrics from:
|
**You can view usage instructions for each plugin by running**
|
||||||
|
`telegraf -usage <pluginname>`
|
||||||
|
|
||||||
|
Telegraf currently has support for collecting metrics from
|
||||||
|
|
||||||
* disque
|
* disque
|
||||||
* elasticsearch
|
* elasticsearch
|
||||||
* exec (generic executable JSON-gathering plugin)
|
* exec (generic JSON-emitting executable plugin)
|
||||||
* haproxy
|
* haproxy
|
||||||
* httpjson (generic JSON-emitting http service plugin)
|
* httpjson (generic JSON-emitting http service plugin)
|
||||||
* kafka_consumer
|
* kafka_consumer
|
||||||
|
|
|
@ -16,7 +16,9 @@ type Mysql struct {
|
||||||
var sampleConfig = `
|
var sampleConfig = `
|
||||||
# specify servers via a url matching:
|
# specify servers via a url matching:
|
||||||
# [username[:password]@][protocol[(address)]]/[?tls=[true|false|skip-verify]]
|
# [username[:password]@][protocol[(address)]]/[?tls=[true|false|skip-verify]]
|
||||||
# e.g. root:root@http://10.0.0.18/?tls=false
|
# e.g.
|
||||||
|
# root:root@http://10.0.0.18/?tls=false
|
||||||
|
# root:passwd@tcp(127.0.0.1:3036)/
|
||||||
#
|
#
|
||||||
# If no servers are specified, then localhost is used as the host.
|
# If no servers are specified, then localhost is used as the host.
|
||||||
servers = ["localhost"]`
|
servers = ["localhost"]`
|
||||||
|
|
|
@ -25,11 +25,11 @@ var sampleConfig = `
|
||||||
# postgres://[pqgotest[:password]]@localhost?sslmode=[disable|verify-ca|verify-full]
|
# postgres://[pqgotest[:password]]@localhost?sslmode=[disable|verify-ca|verify-full]
|
||||||
# or a simple string:
|
# or a simple string:
|
||||||
# host=localhost user=pqotest password=... sslmode=...
|
# host=localhost user=pqotest password=... sslmode=...
|
||||||
#
|
#
|
||||||
# All connection parameters are optional. By default, the host is localhost
|
# All connection parameters are optional. By default, the host is localhost
|
||||||
# and the user is the currently running user. For localhost, we default
|
# and the user is the currently running user. For localhost, we default
|
||||||
# to sslmode=disable as well.
|
# to sslmode=disable as well.
|
||||||
#
|
#
|
||||||
|
|
||||||
address = "sslmode=disable"
|
address = "sslmode=disable"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue