Skip to content

Commit 9d113a9

Browse files
author
Anandkumar Patel
committed
remove port, add specific collectors
1 parent caab85d commit 9d113a9

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/container.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,11 @@ container::_start_node_exporter_container() {
112112
--detach=true \
113113
--restart=always \
114114
--net=host \
115-
--publish=29006:9100 \
116115
--memory=100mb \
117116
--memory-reservation=50mb \
118-
"${name}:${version}")
117+
"${name}:${version}" \
118+
--collectors.enabled=conntrack,diskstats,filefd,filesystem,loadavg,meminfo,netdev,netstat,stat,time \
119+
--web.listen-address=:29006)
119120

120121
if [[ "$?" -gt "0" ]]; then
121122
local data='{"version":'"${version}"', "output":'"${docker_logs}"'}'

0 commit comments

Comments
 (0)