prometheus / prometheus/node_exporter

Can not collect the "ID_ATA_ROTATION_RATE_RPM" of disks?

Open
#2,904 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
13.8k
Forks
2.7k
Avg merge
1d 23h
Merged PRs (30d)
8

Description

Host operating system: output of uname -a

Linux rook-node01 3.10.0-1127.el7.x86_64 #1 SMP Tue Mar 31 23:36:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

node_exporter version: output of node_exporter --version

node_exporter, version 1.7.0 (branch: master, revision: d8e2be1e88b3d663a5852f04efd695461e722be4)
build user: root@rook-node01
build date: 20240119-07:21:10
go version: go1.20.1
platform: linux/amd64
tags: netgo osusergo static_build

node_exporter command line flags
node_exporter log output

img_v3_0278_d1f4392b-b54e-4232-8e6c-b210b032f5bg

Are you running node_exporter in Docker?

no

What did you do that produced an error?

run node_exporter to collect disk stats

What did you expect to see?

can collect the "ID_ATA_ROTATION_RATE_RPM" of disks

What did you see instead?

img_v3_0278_d1f4392b-b54e-4232-8e6c-b210b032f5bg

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the node_exporter disk-stats collection on the reported Linux host and inspect how the exporter exposes disk metadata. Confirm how ID_ATA_ROTATION_RATE_RPM is made available, then ensure the corresponding value is exposed by node_exporter and verify it in the exporter output.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, linux
Domain
operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.