Skip to content
Snippets Groups Projects
Commit c0e895c3 authored by Cameron Sparr's avatar Cameron Sparr
Browse files

etc/telegraf.conf update

parent fec9760f
No related branches found
No related tags found
No related merge requests found
...@@ -321,14 +321,13 @@ ...@@ -321,14 +321,13 @@
# api_token = "my-secret-token" # required. # api_token = "my-secret-token" # required.
# ## Debug # ## Debug
# # debug = false # # 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. # ## Connection timeout.
# # timeout = "5s" # # 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 # ## 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 # # Configuration for MQTT server to send metrics to
...@@ -1151,6 +1150,23 @@ ...@@ -1151,6 +1150,23 @@
# command = "passenger-status -v --show=xml" # 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 # # Read metrics of phpfpm, via HTTP status page or socket
# [[inputs.phpfpm]] # [[inputs.phpfpm]]
# ## An array of addresses to gather stats about. Specify an ip or hostname # ## An array of addresses to gather stats about. Specify an ip or hostname
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment