Enhance HTTP connection options for phpfpm input plugin (#5713)
This commit is contained in:
@@ -27,6 +27,16 @@ Get phpfpm stats using either HTTP status page or fpm socket.
|
||||
## Example of multiple gathering from local socket and remote host
|
||||
## urls = ["http://192.168.1.20/status", "/tmp/fpm.sock"]
|
||||
urls = ["http://localhost/status"]
|
||||
|
||||
## Duration allowed to complete HTTP requests.
|
||||
# timeout = "5s"
|
||||
|
||||
## 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
|
||||
```
|
||||
|
||||
When using `unixsocket`, you have to ensure that telegraf runs on same
|
||||
|
||||
Reference in New Issue
Block a user