Skip to content

Commit ca631dc

Browse files
committed
Update example config
1 parent 9b88eb7 commit ca631dc

File tree

1 file changed

+58
-4
lines changed

1 file changed

+58
-4
lines changed

etc/telegraf.conf

Lines changed: 58 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,8 +1178,8 @@
11781178
# # field = "read_count"
11791179
# # suffix = "_count"
11801180
#
1181-
# ## Replace substrings within field names
1182-
# # [[processors.strings.trim_suffix]]
1181+
# ## Replace all non-overlapping instances of old with new
1182+
# # [[processors.strings.replace]]
11831183
# # measurement = "*"
11841184
# # old = ":"
11851185
# # new = "_"
@@ -2376,6 +2376,50 @@
23762376
# # no configuration
23772377

23782378

2379+
# # Read jobs and cluster metrics from Jenkins instances
2380+
# [[inputs.jenkins]]
2381+
# ## The Jenkins URL
2382+
# url = "http://my-jenkins-instance:8080"
2383+
# # username = "admin"
2384+
# # password = "admin"
2385+
#
2386+
# ## Set response_timeout
2387+
# response_timeout = "5s"
2388+
#
2389+
# ## Optional TLS Config
2390+
# # tls_ca = "/etc/telegraf/ca.pem"
2391+
# # tls_cert = "/etc/telegraf/cert.pem"
2392+
# # tls_key = "/etc/telegraf/key.pem"
2393+
# ## Use SSL but skip chain & host verification
2394+
# # insecure_skip_verify = false
2395+
#
2396+
# ## Optional Max Job Build Age filter
2397+
# ## Default 1 hour, ignore builds older than max_build_age
2398+
# # max_build_age = "1h"
2399+
#
2400+
# ## Optional Sub Job Depth filter
2401+
# ## Jenkins can have unlimited layer of sub jobs
2402+
# ## This config will limit the layers of pulling, default value 0 means
2403+
# ## unlimited pulling until no more sub jobs
2404+
# # max_subjob_depth = 0
2405+
#
2406+
# ## Optional Sub Job Per Layer
2407+
# ## In workflow-multibranch-plugin, each branch will be created as a sub job.
2408+
# ## This config will limit to call only the lasted branches in each layer,
2409+
# ## empty will use default value 10
2410+
# # max_subjob_per_layer = 10
2411+
#
2412+
# ## Jobs to exclude from gathering
2413+
# # job_exclude = [ "job1", "job2/subjob1/subjob2", "job3/*"]
2414+
#
2415+
# ## Nodes to exclude from gathering
2416+
# # node_exclude = [ "node1", "node2" ]
2417+
#
2418+
# ## Worker pool for jenkins plugin only
2419+
# ## Empty this field will use default value 5
2420+
# # max_connections = 5
2421+
2422+
23792423
# # Read JMX metrics through Jolokia
23802424
# [[inputs.jolokia]]
23812425
# # DEPRECATED: the jolokia plugin has been deprecated in favor of the
@@ -4438,7 +4482,7 @@
44384482
# percentile_limit = 1000
44394483

44404484

4441-
# # Accepts syslog messages per RFC5425
4485+
# # Accepts syslog messages following RFC5424 format with transports as per RFC5426, RFC5425, or RFC6587
44424486
# [[inputs.syslog]]
44434487
# ## Specify an ip or hostname with port - eg., tcp://localhost:6514, tcp://10.0.0.1:6514
44444488
# ## Protocol, address and port to host the syslog receiver.
@@ -4466,6 +4510,16 @@
44664510
# ## 0 means unlimited.
44674511
# # read_timeout = "5s"
44684512
#
4513+
# ## The framing technique with which it is expected that messages are transported (default = "octet-counting").
4514+
# ## Whether the messages come using the octect-counting (RFC5425#section-4.3.1, RFC6587#section-3.4.1),
4515+
# ## or the non-transparent framing technique (RFC6587#section-3.4.2).
4516+
# ## Must be one of "octect-counting", "non-transparent".
4517+
# # framing = "octet-counting"
4518+
#
4519+
# ## The trailer to be expected in case of non-trasparent framing (default = "LF").
4520+
# ## Must be one of "LF", or "NUL".
4521+
# # trailer = "LF"
4522+
#
44694523
# ## Whether to parse in best effort mode or not (default = false).
44704524
# ## By default best effort parsing is off.
44714525
# # best_effort = false
@@ -4661,7 +4715,7 @@
46614715
# # object_discovery_interval = "300s"
46624716
#
46634717
# ## timeout applies to any of the api request made to vcenter
4664-
# # timeout = "20s"
4718+
# # timeout = "60s"
46654719
#
46664720
# ## Optional SSL Config
46674721
# # ssl_ca = "/path/to/cafile"

0 commit comments

Comments
 (0)