From c0e895c3a7c14f82fba652f7aa80c14ed43f0954 Mon Sep 17 00:00:00 2001
From: Cameron Sparr <cameronsparr@gmail.com>
Date: Wed, 10 Aug 2016 15:16:01 +0100
Subject: [PATCH] etc/telegraf.conf update

---
 etc/telegraf.conf | 26 +++++++++++++++++++++-----
 1 file changed, 21 insertions(+), 5 deletions(-)

diff --git a/etc/telegraf.conf b/etc/telegraf.conf
index 60877af2..b67a17ba 100644
--- a/etc/telegraf.conf
+++ b/etc/telegraf.conf
@@ -321,14 +321,13 @@
 #   api_token = "my-secret-token" # required.
 #   ## Debug
 #   # debug = false
-#   ## Tag Field to populate source attribute (optional)
-#   ## This is typically the _hostname_ from which the metric was obtained.
-#   source_tag = "host"
 #   ## Connection timeout.
 #   # timeout = "5s"
-#   ## Output Name Template (same as graphite buckets)
+#   ## Output source Template (same as graphite buckets)
 #   ## see https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_OUTPUT.md#graphite
-#   template = "host.tags.measurement.field"
+#   ## This template is used in librato's source (not metric's name)
+#   template = "host"
+#
 
 
 # # Configuration for MQTT server to send metrics to
@@ -1151,6 +1150,23 @@
 #   command = "passenger-status -v --show=xml"
 
 
+# # Read metrics from one or many pgbouncer servers
+# [[inputs.pgbouncer]]
+#   ## specify address via a url matching:
+#   ##   postgres://[pqgotest[:password]]@localhost:port[/dbname]\
+#   ##       ?sslmode=[disable|verify-ca|verify-full]
+#   ## or a simple string:
+#   ##   host=localhost user=pqotest port=6432 password=... sslmode=... dbname=pgbouncer
+#   ##
+#   ## All connection parameters are optional, except for dbname,
+#   ## you need to set it always as pgbouncer.
+#   address = "host=localhost user=postgres port=6432 sslmode=disable dbname=pgbouncer"
+#
+#   ## A list of databases to pull metrics about. If not specified, metrics for all
+#   ## databases are gathered.
+#   # databases = ["app_production", "testing"]
+
+
 # # Read metrics of phpfpm, via HTTP status page or socket
 # [[inputs.phpfpm]]
 #   ## An array of addresses to gather stats about. Specify an ip or hostname
-- 
GitLab