From 3ac7439721facf1f2ca119986b841566d32aa519 Mon Sep 17 00:00:00 2001 From: "telegraf-tiger[bot]" <76974415+telegraf-tiger[bot]@users.noreply.github.com> Date: Wed, 22 Dec 2021 14:00:50 -0700 Subject: [PATCH] feat: update etc/telegraf.conf and etc/telegraf_windows.conf (#10335) --- etc/telegraf.conf | 13 +++++++++++++ etc/telegraf_windows.conf | 13 +++++++++++++ 2 files changed, 26 insertions(+) diff --git a/etc/telegraf.conf b/etc/telegraf.conf index a68b8c0fc..a67a0ea17 100644 --- a/etc/telegraf.conf +++ b/etc/telegraf.conf @@ -7048,6 +7048,9 @@ # ## example: server_name = "myhost.example.org" # # server_name = "" # +# ## Don't include root or intermediate certificates in output +# # exclude_root_certs = false +# # ## Optional TLS Config # # tls_ca = "/etc/telegraf/ca.pem" # # tls_cert = "/etc/telegraf/cert.pem" @@ -8577,6 +8580,11 @@ # ## A list of databases to pull metrics about. If not specified, metrics for all # ## databases are gathered. Do NOT use with the 'ignored_databases' option. # # databases = ["app_production", "testing"] +# +# ## Whether to use prepared statements when connecting to the database. +# ## This should be set to false when connecting through a PgBouncer instance +# ## with pool_mode set to transaction. +# # prepared_statements = true # # Read metrics from one or many postgresql servers @@ -8600,6 +8608,11 @@ # ## default is forever (0s) # max_lifetime = "0s" # +# ## Whether to use prepared statements when connecting to the database. +# ## This should be set to false when connecting through a PgBouncer instance +# ## with pool_mode set to transaction. +# # prepared_statements = true +# # ## A list of databases to pull metrics about. If not specified, metrics for all # ## databases are gathered. # ## databases = ["app_production", "testing"] diff --git a/etc/telegraf_windows.conf b/etc/telegraf_windows.conf index aa038d114..5aefde49d 100644 --- a/etc/telegraf_windows.conf +++ b/etc/telegraf_windows.conf @@ -7002,6 +7002,9 @@ # ## example: server_name = "myhost.example.org" # # server_name = "" # +# ## Don't include root or intermediate certificates in output +# # exclude_root_certs = false +# # ## Optional TLS Config # # tls_ca = "/etc/telegraf/ca.pem" # # tls_cert = "/etc/telegraf/cert.pem" @@ -8452,6 +8455,11 @@ # ## A list of databases to pull metrics about. If not specified, metrics for all # ## databases are gathered. Do NOT use with the 'ignored_databases' option. # # databases = ["app_production", "testing"] +# +# ## Whether to use prepared statements when connecting to the database. +# ## This should be set to false when connecting through a PgBouncer instance +# ## with pool_mode set to transaction. +# # prepared_statements = true # # Read metrics from one or many postgresql servers @@ -8475,6 +8483,11 @@ # ## default is forever (0s) # max_lifetime = "0s" # +# ## Whether to use prepared statements when connecting to the database. +# ## This should be set to false when connecting through a PgBouncer instance +# ## with pool_mode set to transaction. +# # prepared_statements = true +# # ## A list of databases to pull metrics about. If not specified, metrics for all # ## databases are gathered. # ## databases = ["app_production", "testing"]