Commit 7267ed8 1 parent d9563f7 commit 7267ed8 Copy full SHA for 7267ed8
File tree 2 files changed +18
-1
lines changed
2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change 1
1
global :
2
- scrape_interval : 5s
2
+ scrape_interval : 10s
3
3
4
4
scrape_configs :
5
5
@@ -95,6 +95,13 @@ scrape_configs:
95
95
type : ' A'
96
96
port : 8405
97
97
98
+ - job_name : node
99
+ dns_sd_configs :
100
+ - names :
101
+ - node-exporter.dating.se.ifmo.ru
102
+ type : ' A'
103
+ port : 9100
104
+
98
105
- job_name : prometheus
99
106
dns_sd_configs :
100
107
- names :
Original file line number Diff line number Diff line change @@ -168,6 +168,16 @@ services:
168
168
- " 127.0.0.1:8455:8455"
169
169
- " 127.0.0.1:8456:8456"
170
170
- " 127.0.0.1:8457:8457"
171
+ node-exporter :
172
+ image : prom/node-exporter:latest
173
+ container_name : node_exporter
174
+ command :
175
+ - " --path.rootfs=/host"
176
+ pid : host
177
+ volumes :
178
+ - " /:/host:ro,rslave"
179
+ tty : true
180
+ hostname : node-exporter.dating.se.ifmo.ru
171
181
prometheus :
172
182
image : ghcr.io/secs-dev/itmo-dating-prometheus:latest
173
183
build :
You can’t perform that action at this time.
0 commit comments