Build for linux/armv7
As of v0.25.0 pre-built binaries for linux/armv7 are not provided. If you need to run sql_exporter on a Raspberry Pi or similar device with old 32-bit ARM architecture, you will need to build it from source.
To build for linux/armv7 you will need to have a working Golang environment installed and configured. You can follow the official Golang installation instructions for your platform. Once you have Golang installed, you can build the binary by running the following command in the root of the repository:
GOOS=linux GOARCH=arm GOARM=7 make buildThis will produce a binary with the following header information:
sql_exporter: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), statically linked, Go BuildID=..., strippedPlease note that driver support for ARMv7 depends on the specific database you are connecting to. Some drivers may not support (or drop) ARMv7, so you may need to check the documentation for your specific database driver to ensure compatibility.
