I have downloaded prometheus-2.36.2.darwin-amd64.tar.gz file in my Mac system with a M1 processor. But I am unable to install and run prometheus. Please let me know the steps to install the same.
CodePudding user response:
You have an M1 Mac and you try to install an amd64 image. So the processors instruction does not map to the installing image.
You have to download an Image for the M1 architecture.
You can also try to install it with brew install prometheus
.
Otherwise you may run it in an docker container which you find here: https://hub.docker.com/u/prom
CodePudding user response:
There are binaries for your platform available:
- Go to https://prometheus.io/download/
- Choose
darwin
as your Operating System andarm64
as your Architecture. - Download the files you need.
Or, use this direct download link: Prometheus 2.36.2 for macOS on M1.