Adding upstream version 1.34.4.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
e393c3af3f
commit
4978089aab
4963 changed files with 677545 additions and 0 deletions
37
plugins/inputs/redis/sample.conf
Normal file
37
plugins/inputs/redis/sample.conf
Normal file
|
@ -0,0 +1,37 @@
|
|||
# Read metrics from one or many redis servers
|
||||
[[inputs.redis]]
|
||||
## specify servers via a url matching:
|
||||
## [protocol://][username:password]@address[:port]
|
||||
## e.g.
|
||||
## tcp://localhost:6379
|
||||
## tcp://username:password@192.168.99.100
|
||||
## unix:///var/run/redis.sock
|
||||
##
|
||||
## If no servers are specified, then localhost is used as the host.
|
||||
## If no port is specified, 6379 is used
|
||||
servers = ["tcp://localhost:6379"]
|
||||
|
||||
## Optional. Specify redis commands to retrieve values
|
||||
# [[inputs.redis.commands]]
|
||||
# # The command to run where each argument is a separate element
|
||||
# command = ["get", "sample-key"]
|
||||
# # The field to store the result in
|
||||
# field = "sample-key-value"
|
||||
# # The type of the result
|
||||
# # Can be "string", "integer", or "float"
|
||||
# type = "string"
|
||||
|
||||
## Specify username and password for ACL auth (Redis 6.0+). You can add this
|
||||
## to the server URI above or specify it here. The values here take
|
||||
## precedence.
|
||||
# username = ""
|
||||
# password = ""
|
||||
|
||||
## Optional TLS Config
|
||||
## Check tls/config.go ClientConfig for more options
|
||||
# tls_enable = true
|
||||
# tls_ca = "/etc/telegraf/ca.pem"
|
||||
# tls_cert = "/etc/telegraf/cert.pem"
|
||||
# tls_key = "/etc/telegraf/key.pem"
|
||||
## Use TLS but skip chain & host verification
|
||||
# insecure_skip_verify = true
|
Loading…
Add table
Add a link
Reference in a new issue