Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
Add metrics to node_exporter (#907) (#938)
Browse files Browse the repository at this point in the history
* Add metrics to node_exporter

* Update roles/node_exporter/templates/run_node_exporter_binary.sh.j2

Co-Authored-By: sykp241095 <sykp241095@gmail.com>
  • Loading branch information
liubo0127 and sykp241095 authored Sep 9, 2019
1 parent b53c9f8 commit f123758
Show file tree
Hide file tree
Showing 2 changed files with 2,954 additions and 280 deletions.
6 changes: 6 additions & 0 deletions roles/node_exporter/templates/run_node_exporter_binary.sh.j2
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,10 @@ exec > >(tee -i -a "{{ node_exporter_log_dir }}/{{ node_exporter_log_filename }}
exec 2>&1

exec bin/node_exporter --web.listen-address=":{{ node_exporter_port }}" \
--collector.tcpstat \
--collector.systemd \
--collector.mountstats \
--collector.meminfo_numa \
--collector.interrupts \
--collector.vmstat.fields="^.*" \
--log.level="{{ node_exporter_log_level }}"
Loading

0 comments on commit f123758

Please sign in to comment.