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
26
plugins/inputs/haproxy/sample.conf
Normal file
26
plugins/inputs/haproxy/sample.conf
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Read metrics of HAProxy, via stats socket or http endpoints
|
||||
[[inputs.haproxy]]
|
||||
## List of stats endpoints. Metrics can be collected from both http and socket
|
||||
## endpoints. Examples of valid endpoints:
|
||||
## - http://myhaproxy.com:1936/haproxy?stats
|
||||
## - https://myhaproxy.com:8000/stats
|
||||
## - socket:/run/haproxy/admin.sock
|
||||
## - /run/haproxy/*.sock
|
||||
## - tcp://127.0.0.1:1936
|
||||
##
|
||||
## Server addresses not starting with 'http://', 'https://', 'tcp://' will be
|
||||
## treated as possible sockets. When specifying local socket, glob patterns are
|
||||
## supported.
|
||||
servers = ["http://myhaproxy.com:1936/haproxy?stats"]
|
||||
|
||||
## By default, some of the fields are renamed from what haproxy calls them.
|
||||
## Setting this option to true results in the plugin keeping the original
|
||||
## field names.
|
||||
# keep_field_names = false
|
||||
|
||||
## Optional TLS Config
|
||||
# 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 = false
|
Loading…
Add table
Add a link
Reference in a new issue