An exporter for the game Rust that uses Rcon and supports exporting metrics for multiple servers
389
A dead-simple exporter for the video-game Rust that uses Rcon and supports exporting metrics for multiple servers
View the Releases page and download the one for your system
docker run:
docker run \
-v /path/to/config.json:/config.json \
-p 9099:9099 \
winter/rust-exporter:latest
docker-compose:
version: "3.7"
services:
rust-exporter:
image: winter/rust-exporter:latest
restart: unless-stopped
ports:
- 9099:9099
volumes:
- /path/to/config.json:/config.json
Create a file in the same directory as the binary called config.json
{
"interval": 1000,
"port": 9099,
"servers": [
{
"ip": "",
"port": 0,
"password": ""
}
]
}
- job_name: 'rust_exporter'
scrape_interval: 10s
static_configs:
- targets: ['0.0.0.0:9099']
players{name="0.0.0.0:28016",type="max"} 40
players{name="0.0.0.0:28016",type="online"} 0
players{name="0.0.0.0:28016",type="sleeping"} 0
players{name="0.0.0.0:28016",type="queued"} 0
players{name="0.0.0.0:28016",type="joining"} 0
network{name="0.0.0.0:28016",type="in"} 0
network{name="0.0.0.0:28016",type="out"} 0
entities{name="0.0.0.0:28016"} 5542
fps{name="0.0.0.0:28016"} 244
Content type
Image
Digest
Size
28.6 MB
Last updated
over 4 years ago
docker pull winter/rust-exporter