-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtelegraf.conf
More file actions
93 lines (84 loc) · 2.21 KB
/
telegraf.conf
File metadata and controls
93 lines (84 loc) · 2.21 KB
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
[global_tags]
# This will be used for checking eligibility for alerting
# Currently there will be 3: sov-dev, sov-int-staging, sov-testnet. Only sov-testnet will have alerts
environment = "sov-dev"
# Optional, can be helpful in alerts: primary-mock-da, secondary-celestia
# role = "mock-da"
[agent]
interval = "30s"
round_interval = true
metric_batch_size = 5000
metric_buffer_limit = 50000
collection_jitter = "0s"
flush_interval = "30s"
flush_jitter = "0s"
precision = "0s"
hostname = "dev-docker"
[[outputs.influxdb_v2]]
# Adjust for staging/testnet environment
urls = ["http://influxdb:8086"]
organization = "sovereign"
bucket = "sov-rollup"
token = "sovereign"
insecure_skip_verify = true
# Collectors
[[inputs.socket_listener]]
service_address = "udp://:8094"
data_format = "influx"
[[inputs.socket_listener]]
service_address = "tcp://:8094"
data_format = "influx"
# Basic
[[inputs.cpu]]
percpu = true
totalcpu = true
collect_cpu_time = false
report_active = falsecore_tags = false
[[inputs.mem]]
# Storage
[[inputs.disk]]
ignore_fs = ["tmpfs", "devtmpfs", "devfs", "iso9660", "overlay", "aufs", "squashfs"]
# Adjust per server
mount_points = ["/", "/mnt/rollup"]
[[inputs.diskio]]
[[inputs.filecount]]
recursive = true
size = "100B"
# Adjust per server
directories = [ "/mnt", "/mnt/rollup/**" ]
# System
[[inputs.system]]
[[inputs.swap]]
[[inputs.kernel]]
[[inputs.interrupts]]
[[inputs.processes]]
# Network
[[inputs.net]]
interfaces = ["*"]
ignore_protocol_stats = true
[[inputs.netstat]]
# Misc
[[inputs.procstat]]
pattern = "rollup"
pid_finder = "native"
# Collect all available metrics
fieldpass = ["*"]
# Telegraf self-monitoring
[[inputs.internal]]
[[inputs.http_response]]
interval = "2s"
urls = ["http://127.0.0.1:12346/sequencer/ready"]
#[[inputs.postgresql]]
# address = "host=localhost user=rollup password=hunter2 sslmode=disable"
# Rollup, legacy
#[[inputs.prometheus]]
# urls = ["http://127.0.0.1:9845/metrics"]
# metric_version = 1
# [inputs.prometheus.tags]
# source = "sov-rollup"
# Alloy
#[[inputs.prometheus]]
# urls = ["http://127.0.0.1:12345/metrics"]
# metric_version = 2
# [inputs.prometheus.tags]
# source = "alloy"