Skip to content

Keeping it private

Pavel Erokhin edited this page Oct 19, 2026 · 1 revision

Keep the dashboard private when a token feeds it. Every viewer of a Grafana can send any query to its data sources, not only the dashboard's own.

  • Through Infinity with a WorldAPI token, a viewer reads everything that token may: chat, the console, every player's position.
  • Through Prometheus, a viewer reads every metric the exporter got with its token: positions, chat counts, the console's warnings, the host.

What to do

  1. Turn anonymous access off: GF_AUTH_ANONYMOUS_ENABLED=false, the default.
  2. Keep Grafana off public addresses, or behind a login.
  3. Give WorldAPI tokens read permissions only, like the monitoring token in Data sources. Never give a Grafana token a write permission: Infinity can send POST requests.
  4. Keep the exporter's /metrics and Prometheus off public addresses too.

Players can still see the server without Grafana. Moonlands, for one, keeps this dashboard in a private Grafana and shows its players and hall of fame to everyone on its site, read from WorldAPI without a token.

Next: What the dashboard shows

Clone this wiki locally