https://github.com/ilanddev/swift-exporter
Prometheus Swift Exporter
https://github.com/ilanddev/swift-exporter
Last synced: 4 months ago
JSON representation
Prometheus Swift Exporter
- Host: GitHub
- URL: https://github.com/ilanddev/swift-exporter
- Owner: ilanddev
- License: apache-2.0
- Created: 2018-11-12T16:02:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-20T19:46:11.000Z (about 7 years ago)
- Last Synced: 2024-06-20T06:28:51.188Z (almost 2 years ago)
- Language: Go
- Size: 37.1 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
# Swift Prometheus Exporter
To get the **swift_exporter** plugin install, you will need the following:
1. swift_exporter (the binary, not the .go file)
2. swift_exporter.service
To generate the swift_exporter binary, do the following:
1. navigate to the root of this project
2. run `go get` to retrieve project dependencies
3. run `go build -o swift_exporter` to generate the executable in the project folder
After getting both files, place them at the following locations:
1. swift_exporter = `/opt/ss/support/bin/`
2. 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.