This repository has been archived by the owner on Jul 30, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tele.conf
75 lines (59 loc) · 1.84 KB
/
tele.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
[global_tags]
type = "load-testing"
[agent]
interval = "10s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
debug = false
quiet = true
hostname = ""
omit_hostname = false
###############################################################################
# OUTPUT PLUGINS #
###############################################################################
[[outputs.influxdb]]
urls = ["$INFLUXDB_HOST"] # required
username = "$INFLUXDB_USERNAME"
password = "$INFLUXDB_PASSWORD"
database = "telegraf" # required
precision = "s"
retention_policy = "default"
write_consistency = "any"
timeout = "10s"
###############################################################################
# INPUT PLUGINS #
###############################################################################
# Read metrics about cpu usage
[[inputs.cpu]]
percpu = true
totalcpu = true
fielddrop = ["time_*"]
[[inputs.kernel]]
[[inputs.mem]]
[[inputs.processes]]
[[inputs.swap]]
[[inputs.system]]
[[inputs.net]]
[[inputs.netstat]]
[[inputs.docker]]
endpoint = "unix:///var/run/docker.sock"
timeout = "5s"
###############################################################################
# SERVICE INPUT PLUGINS #
###############################################################################
# Statsd Server
[[inputs.statsd]]
service_address = ":8125"
delete_gauges = false
delete_counters = true
delete_sets = false
delete_timings = true
percentiles = [90]
metric_separator = "_"
parse_data_dog_tags = false
allowed_pending_messages = 10000
percentile_limit = 1000