-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtelegraf.conf
69 lines (65 loc) · 1.73 KB
/
telegraf.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
[global_tags]
# update datacenter names to match Fluent Bit config
datacenter = "AWS"
[agent]
interval = "10s"
round_interval = true
metric_batch_size = 1000
metric_buffer_limit = 10000
collection_jitter = "0s"
flush_interval = "10s"
flush_jitter = "0s"
precision = ""
omit_hostname = false
# OUTPUT PLUGINS
[[outputs.http]]
url = "https://<<observe_host_name>>:443/v1/observations/telegraf"
timeout = "5s"
method = "POST"
insecure_skip_verify = true
data_format = "json"
content_encoding = "gzip"
[outputs.http.headers]
Content-Type = "application/json"
X-Observe-Decoder = "nested"
Authorization = "Bearer <<ingest_token>>"
# INPUT PLUGINS
[[inputs.cpu]]
percpu = true
totalcpu = false
collect_cpu_time = false
report_active = false
[[inputs.disk]]
# no configuration
[[inputs.diskio]]
# no configuration
[[inputs.net]]
# no configuration
[[inputs.mem]]
# no configuration
[[inputs.processes]]
# no configuration
[[inputs.swap]]
# no configuration
[[inputs.system]]
# no configuration
[[inputs.system]]
# no configuration
# [[inputs.ntpq]]
# dns_lookup = true
[[inputs.win_perf_counters]]
UseWildcardsExpansion = true
[[inputs.win_perf_counters.object]]
ObjectName = "Process"
Counters = ["% Processor Time","Handle Count","Private Bytes","Thread Count","Virtual Bytes","Working Set","ID Process"]
#Counters = ["*"]
Instances = ["*"]
Measurement = "win_proc"
#IncludeTotal=false #Set to true to include _Total instance when querying for all (*).
[[inputs.win_services]]
# no configurations
# Uncomment below metatags if using AWS EC2
#####[[processors.aws_ec2]]
##### imds_tags = [ "accountId", "instanceId"]
##### timeout = "10s"
##### max_parallel_calls = 10