Repository navigation
Grafana
The minecraft-grafana dashboard draws every metric the exporter serves, plus live chat and event tables read straight from WorldAPI. It's on grafana.com as 25941.
- Make sure Prometheus scrapes the exporter, as Prometheus shows, and Grafana has that Prometheus as a data source.
- In Grafana, open Dashboards → New → Import.
- Enter
25941, or uploadminecraft.jsonfrom the latest release. - Pick your Prometheus and import.
- Pick a server in the “Server” variable at the top.
The dashboard picks its data sources through variables, so a provisioned copy needs no editing. examples/ in this repository shows a provisioned setup, and Installation starts it.
These tables ask WorldAPI directly through Grafana's Infinity data source, with a WorldAPI token that has events:read, and chat:read for chat. minecraft-grafana's README says how to set it up.
Panels for the host, the console, plugins, crowded worlds, positions, and chat stay empty until the exporter reads with a token that has their permission. The dashboard's “Exporter” row shows which endpoints the token opens.
Warning
Every viewer of a Grafana can send any query to its data sources. Keep a Grafana with these metrics private: turn anonymous access off and keep it behind a login.
Next: Metrics.
For server owners
For developers