Repository navigation
Variables
Four variables sit at the top of the dashboard. Change one, and every panel follows.
| Variable | What it picks | Default |
|---|---|---|
| Prometheus | The Prometheus data source with minecraft-exporter's metrics | Grafana's default Prometheus |
| WorldAPI | The Infinity data source for the three tables in “Chat and events” | The first Infinity data source |
| Server | One server, by the instance label of minecraft_up
|
The first one found |
| Player | One player, several, or all, from minecraft_player_play_time_seconds_total on that server |
All |
Every query filters by the server, and every per-player panel by the players you pick too.
One more stays hidden: side, from minecraft_info's side label. It reads integrated for a singleplayer world and dedicated for a server. Rows show by a condition on it: “Your world” when it's integrated, and Players, Plugins and console, and Chat and events when it isn't. An exporter before 3.1.0 has no side, so its servers count as servers.
One exporter can scrape many servers, or you can run one per server. Either way each server gets its own instance label, and the “Server” variable switches between them. minecraft-exporter's Prometheus page shows the scrape job for many servers.
An orange mark on every graph shows when the server restarted. Grafana draws it where minecraft_start_time_seconds changed. Turn it off with the “Restarts” toggle at the top.
The dashboard opens on the last 24 hours and refreshes every 30 seconds. Bar charts count their slice of time, so they fill once Prometheus holds a little history: give a fresh setup half an hour. Crosshairs share across graphs, so pointing at one moment shows it everywhere.
Next: Troubleshooting
Server owners
Developers