To get the swift_exporter plugin install, you will need the following:
- swift_exporter (the binary, not the .go file)
- swift_exporter.service
To generate the swift_exporter binary, do the following:
- navigate to the root of this project
- run
go get
to retrieve project dependencies - run
go build -o swift_exporter
to generate the executable in the project folder
After getting both files, place them at the following locations:
- swift_exporter =
/opt/ss/support/bin/
- swift_exporter.service =
/usr/lib/systemd/system
The path for the swift_exporter
binary assumes an installation on a SwiftStack Swift node. If you're not running SwiftStack, you can modify the path to /usr/local/bin/
or any other location you prefer. If you do, please also remember to modify the swift_exporter.service file accordingly.