prometheus / node_exporter

Exporter for machine metrics
https://prometheus.io/
Apache License 2.0
10.64k stars 2.3k forks source link

Feature request: ARM6 Docker image #1327

Open mhansen opened 5 years ago

mhansen commented 5 years ago

https://hub.docker.com/r/prom/node-exporter-linux-armv7 exists, but doesn't run on Raspberry Pi Zero, which is linux ARM6.

Feature request: https://hub.docker.com/r/prom/node-exporter-linux-armv6 should resolve.

discordianfish commented 5 years ago

I think that's reasonable unless this is harder than I imaging.

SuperQ commented 5 years ago

Nope, it's pretty easy, we need to add the repo to quay.io, and then add it to the build list in the Makefile.

Steiniche commented 4 years ago

I would love to try and fix this and have just quickly looked into it. From what I gathered https://github.com/prometheus/node_exporter/blob/master/Makefile#L18 need to have an addition of armv6. For this to work there need to be a busy box image, which require a new line around here https://github.com/prometheus/busybox/blob/master/Makefile#L26 making it build an arm6 busybox container. However, https://hub.docker.com/_/debian?tab=tags does not have an image for ARM6. There are only ARM5 or ARM7 but there exists some community editions. However, this raises the issue do we want to rely on community editions and is it worth the undertaking it would take to change the busybox repo to support this?

I would like to help resolve this but I need some input as to how.

discordianfish commented 4 years ago

Good question.. well, ideally somebody would add arm6 to the debian base image. But we can probably also build upon the arm5 debian image, right? I'd be okay with that.