Skip to content

Commit

Permalink
chore: enable selected collectors in node-exporter (#1770)
Browse files Browse the repository at this point in the history
Signed-off-by: Vimal Kumar <[email protected]>
  • Loading branch information
vimalk78 authored Sep 9, 2024
1 parent 4cfb27d commit aea0fed
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion manifests/compose/dev/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,16 @@ services:
source: /
target: /rootfs
command:
# - --log.level=debug
- --path.procfs=/host/proc
- --path.sysfs=/host/sys
- --path.rootfs=/rootfs
- --collector.rapl # Enable RAPL collector
- --collector.disable-defaults
- --collector.cpu
- --collector.cpufreq
- --collector.perf
- --collector.meminfo
- --collector.rapl
- --collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)
user: root
networks:
Expand Down
8 changes: 7 additions & 1 deletion manifests/compose/validation/metal/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,16 @@ services:
source: /
target: /rootfs
command:
# - --log.level=debug
- --path.procfs=/host/proc
- --path.sysfs=/host/sys
- --path.rootfs=/rootfs
- --collector.rapl # Enable RAPL collector
- --collector.disable-defaults
- --collector.cpu
- --collector.cpufreq
- --collector.perf
- --collector.meminfo
- --collector.rapl
- --collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)
user: root
networks:
Expand Down

0 comments on commit aea0fed

Please sign in to comment.