New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crashes on Mac M1 arm64 #2120
Comments
@timja Can you build prometheus/procfs#404 and see if that fixes it? |
Is it possible to get a binary? or some instructions on how to get node_exporter built with a different version? The tests fail on my platform:
|
@timja I had the same problem. The solution is to download
Then simply run I hope this solves your problem. |
Just tested it on my new Mac M1 and master seems to work, so I'll consider this done. |
I'm experiencing this problem on release 1.3.1 @discordianfish . Would you like me to open a new issue? |
Here is something that I observe today on a mac arm64 machine.
|
Are you sure this is the same problem? Or is this just mac preventing unknown binaries to run? |
Not sure.
|
Unfortunately my M1 is in repair right now and I can't try.. I'll do if it's back |
We seem to be experiencing the same issue ( $ ./node_exporter --version
Killed: 9
$ uname -a
Darwin miniarm4 21.6.0 Darwin Kernel Version 21.6.0: Wed Aug 10 14:28:35 PDT 2022; root:xnu-8020.141.5~2/RELEASE_ARM64_T8101 arm64 |
The fix for us, was to install a go environment and build node_exporter manually. For sake of completeness, these were our steps:
Because building node_exporter was simple, have you guys thought to provide this binary via conda-forge? I might decide to do so if y'all feel like helping maintain it :) |
Host operating system: output of
uname -a
node_exporter version: output of
node_exporter --version
crashes if I try to run the command
(but it's 1.2.2 downloaded from github release at https://github.com/prometheus/node_exporter/releases/download/v1.2.2/node_exporter-1.2.2.darwin-arm64.tar.gz)
node_exporter command line flags
none
Are you running node_exporter in Docker?
no
What did you do that produced an error?
./node_exporter
What did you expect to see?
it to work
What did you see instead?
It works on 1.2.1. The diff is very small: v1.2.1...v1.2.2
prometheus/procfs#402 is likely the cause
The text was updated successfully, but these errors were encountered: