[修改]node-exporter特权模式修正
This commit is contained in:
@@ -24,4 +24,4 @@ RUN architecture=$(uname -m); \
|
||||
|
||||
RUN mkdir /host
|
||||
|
||||
CMD ["node_exporter","--path.rootfs=/host"]
|
||||
CMD ["node_exporter","--path.rootfs=/host","--web.listen-address=0.0.0.0:9100"]
|
||||
@@ -4,7 +4,7 @@ global:
|
||||
scrape_configs:
|
||||
- job_name: 'node_exporter'
|
||||
static_configs:
|
||||
- targets: [ 'node-exporter:9100' ]
|
||||
- targets: [ '172.17.0.1:9100' ]
|
||||
|
||||
- job_name: 'opcua_exporter'
|
||||
static_configs:
|
||||
|
||||
Reference in New Issue
Block a user