hbrombeer / blockgametracker

Minecraft server Prometheus exporter used on https://blockgametracker.gg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blockgametracker

A Python Prometheus exporter to query Minecraft servers for their current status and playercount. Used for https://blockgametracker.iptables.sh

Originally https://github.com/itzg/mc-monitor was used for this purpose but it ended up not suiting this project. Metric & label names were taken from this project.

Usage

See the production config as example on how to configure the server list in deploy/config/servers.yaml The exporter can be ran using Docker. When developing locally, you can use docker-compose up --build to run the exporter and access it at http://127.0.0.1:8080

About

Minecraft server Prometheus exporter used on https://blockgametracker.gg

License:GNU General Public License v3.0


Languages

Language:Python 88.2%Language:Dockerfile 11.8%