update sample config for prometheus output client

Signed-off-by: Robert Sullivan <rsullivan@pivotal.io>
This commit is contained in:
Max Eshleman 2019-02-26 11:46:49 -07:00 committed by Robert Sullivan
parent a85833ae53
commit b34ad9efc4
2 changed files with 6 additions and 10 deletions

View File

@ -36,11 +36,9 @@ This plugin starts a [Prometheus](https://prometheus.io/) Client, it exposes all
# tls_cert = "/etc/ssl/telegraf.crt"
# tls_key = "/etc/ssl/telegraf.key"
## If set, enable TLS client authentication with the given CA.
# tls_ca = "/etc/ssl/telegraf_ca.crt"
## Boolean value indicating whether or not to skip SSL verification
# insecure_skip_verify = false
## Set one or more allowed client CA certificate file names to
## enable mutually authenticated TLS connections
# tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]
## Export metric collection time.
# export_timestamp = false

View File

@ -107,11 +107,9 @@ var sampleConfig = `
# tls_cert = "/etc/ssl/telegraf.crt"
# tls_key = "/etc/ssl/telegraf.key"
## If set, enable TLS client authentication with the given CA.
# tls_ca = "/etc/ssl/telegraf_ca.crt"
## Boolean value indicating whether or not to skip SSL verification
# insecure_skip_verify = false
## Set one or more allowed client CA certificate file names to
## enable mutually authenticated TLS connections
# tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"]
## Export metric collection time.
# export_timestamp = false