Minecraft server stats [Prometheus]
Modern dashboard for minecraft-prometheus-exporter https://github.com/Joshi425/minecraft-exporter
Modern dashboard for minecraft-prometheus-exporter
How to
- Go to the minecraft-prometheus-exporter repository.
- Install and configure the exporter as described (creating a docker compose file will be easier)
- Add following in prometheus config:
- job_name: minecraft
scrape_interval: 15s
scrape_timeout: 15s
metrics_path: /metrics
scheme: http
static_configs:
- targets:
- <exporter-ip>:<exporter-port>
labels:
server_name: <your-server-name>
If everything is done correctly, you will see a new entry in the prometheus web configuration (Status > Targets). If the entry shows as down, check the container logs (docker compose logs -f
if a docker-compose file was created)
You can now add a new data source in Grafana and use this dashboard.
Data source config
Collector config:
Upload an updated version of an exported dashboard.json file from Grafana
Revision | Description | Created | |
---|---|---|---|
Download |