Export metrics from MSI Afterburner, any metric, to prometheus.
You need MSI Afterburner Remote Server running on the computer with MSI Afterburner, this application allow the metrics to be queried via an API.
You can click on the above link or check in MSI Afterburner Page for the download. Just download it, unzip and run it.
The afterburner-exporter
doesn't need to be on the same computer, it can be in any computer, although it is very lightweight and
barely consume any resource, so if you run it alongside your gaming computer it won't affect performance.
You can pass these parameters as arguments:
Example:
afterburner-exporter host=192.168.1.32 port=1082 listen-address=0.0.0.0:9090 metrics-endpoint=/custom/metrics
Parameter | Default | Description |
---|---|---|
host | 127.0.0.1 | The host of the computer running MSI Afterburner Server |
port | 82 | The port of the MSI Afterburner Server |
username | MSIAfterburner | Username to authenticate in MSI Afterburner Server, should be MSIAfterburner unless a new version changes it. |
password | 17cc95b4017d496f82 | Password to authenticate in MSI Afterburner Server, it is fixed unless you change it in the config files. |
listen-address | 0.0.0.0:8080 | Address and port where this app will listen to request. |
metrics-endpoint | /metrics | Endpoint which the metrics will be available to be scrapped by Prometheus. |
You can also use it via docker:
docker container run --name afterburner-exporter -p 8080:8080 kennedyoliveira/afterburner-exporter
There are images built for the following architectures:
- linux/amd64
- linux/i386
- linux/arm64
- linux/arm/v7
Given the arm archs, you can use it on a raspberry pi or similar arm hardware.
To build just clone the project and run:
make build
To cross compile for the different platforms use:
make compile
For other additional options check the Makefile
- Allow blacklist from config
- Allow gpu regex from config
- Configuration from environment variables