prometheus / prometheus/node_exporter
err="read /sys/class/powercap/intel-rapl:0/energy_uj: invalid argument"
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 prd-coov-auth-db-2 3.10.0-1160.6.1.el7.x86_64 #1 SMP Tue Nov 17 13:59:11 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
node_exporter version: output of node_exporter --version
node_exporter, version 1.1.2 (branch: HEAD, revision: b597c1244d7bef49e6f3359c87a56dd7707f6719)
build user: root@f07de8ca602a
build date: 20210305-09:29:10
go version: go1.15.8
platform: linux/amd64
node_exporter command line flags
NA
Are you running node_exporter in Docker?
NA
What did you do that produced an error?
What did you expect to see?
What did you see instead?
[root@prd-coov-auth-db-2 node_exporter]# systemctl status node_exporter
● node_exporter.service - Node Exporter
Loaded: loaded (/etc/systemd/system/node_exporter.service; enabled; vendor preset: disabled)
Active: active (running) since 금 2021-07-16 13:13:43 KST; 6 months 4 days ago
Main PID: 10712 (node_exporter)
CGroup: /system.slice/node_exporter.service
└─10712 /logs001/grafana/node_exporter/node_exporter
1월 19 10:32:10 prd-coov-auth-db-2 node_exporter[10712]: level=error ts=2022-01-19T01:32:10.517Z caller=collector.go:161 msg="collector failed" name=rapl duration_seconds=0.003406867 err="read /sys/class/powercap/intel-rapl:0/energy_uj: invalid argument"
1월 19 10:32:15 prd-coov-auth-db-2 node_exporter[10712]: level=error ts=2022-01-19T01:32:15.492Z caller=collector.go:161 msg="collector failed" name=rapl duration_seconds=0.003255507 err="read /sys/class/powercap/intel-rapl:0/energy_uj: invalid argument"
1월 19 10:32:20 prd-coov-auth-db-2 node_exporter[10712]: level=error ts=2022-01-19T01:32:20.519Z caller=collector.go:161 msg="collector failed" name=rapl duration_seconds=0.003890986 err="read /sys/class/powercap/intel-rapl:0/energy_uj: invalid argument"
1월 19 10:32:25 prd-coov-auth-db-2 node_exporter[10712]: level=error ts=2022-01-19T01:32:25.493Z caller=collector.go:161 msg="collector failed" name=rapl duration_seconds=0.005434552 err="read /sys/class/powercap/intel-rapl:0/energy_uj: invalid argument"
1월 19 10:32:30 prd-coov-auth-db-2 node_exporter[10712]: level=error ts=2022-01-19T01:32:30.492Z caller=collector.go:161 msg="collector failed" name=rapl duration_seconds=0.00480883 err="read /sys/class/powercap/intel-rapl:0/energy_uj: invalid argument"
1월 19 10:32:35 prd-coov-auth-db-2 node_exporter[10712]: level=error ts=2022-01-19T01:32:35.494Z caller=collector.go:161 msg="collector failed" name=rapl duration_seconds=0.0037846 err="read /sys/class/powercap/intel-rapl:0/energy_uj: invalid argument"
1월 19 10:32:40 prd-coov-auth-db-2 node_exporter[10712]: level=error ts=2022-01-19T01:32:40.493Z caller=collector.go:161 msg="collector failed" name=rapl duration_seconds=0.003053756 err="read /sys/class/powercap/intel-rapl:0/energy_uj: invalid argument"
1월 19 10:32:45 prd-coov-auth-db-2 node_exporter[10712]: level=error ts=2022-01-19T01:32:45.494Z caller=collector.go:161 msg="collector failed" name=rapl duration_seconds=0.004680706 err="read /sys/class/powercap/intel-rapl:0/energy_uj: invalid argument"
1월 19 10:32:50 prd-coov-auth-db-2 node_exporter[10712]: level=error ts=2022-01-19T01:32:50.491Z caller=collector.go:161 msg="collector failed" name=rapl duration_seconds=0.004159829 err="read /sys/class/powercap/intel-rapl:0/energy_uj: invalid argument"
1월 19 10:32:55 prd-coov-auth-db-2 node_exporter[10712]: level=error ts=2022-01-19T01:32:55.494Z caller=collector.go:161 msg="collector failed" name=rapl duration_seconds=0.005805542 err="read /sys/class/powercap/intel-rapl:0/energy_uj: invalid argument"
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the rapl collector named in the repeated node_exporter errors and the failure reported at collector.go:161. Reproduce the read of /sys/class/powercap/intel-rapl:0/energy_uj on the reported Linux environment, then determine the expected behavior for this invalid-argument case. Done means the collector handles the reported condition without repeated collector-failed errors, with relevant coverage if the repository provides it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go, linux
- Domain
- observability, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100