Skip to content

Commit

Permalink
node_exporter: upgrade to v1.8.2, remove unneeded collectors
Browse files Browse the repository at this point in the history
This PR update node_exporter to v1.8.2 (just like Scylla) and removes the unneeded collectors that are enabled by default (just like Scylla).
The only execption is interrupts - which are still enabled by default by Scylla and are not needed here.

Signed-off-by: Yaniv Kaul <[email protected]>
  • Loading branch information
mykaul committed Dec 26, 2024
1 parent f867079 commit 2e3be51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdcm/node_exporter_setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from sdcm.remote import shell_script_cmd


NODE_EXPORTER_VERSION = '1.7.0'
NODE_EXPORTER_VERSION = '1.8.2'


class NodeExporterSetup: # pylint: disable=too-few-public-methods
Expand Down Expand Up @@ -31,7 +31,7 @@ def install(node: "BaseNode | None" = None, remoter: "Remoter | None" = None):
User=node_exporter
Group=node_exporter
Type=simple
ExecStart=/usr/local/bin/node_exporter
ExecStart=/usr/local/bin/node_exporter --no-collector.interrupts --no-collector.hwmon --no-collector.bcache --no-collector.btrfs --no-collector.fibrechannel --no-collector.infiniband --no-collector.ipvs --no-collector.nfs --no-collector.nfsd --no-collector.powersupplyclass --no-collector.rapl --no-collector.tapestats --no-collector.thermal_zone --no-collector.udp_queues --no-collector.zfs
[Install]
WantedBy=multi-user.target
Expand Down

0 comments on commit 2e3be51

Please sign in to comment.