Minecraft server stats [Prometheus]

Modern dashboard for minecraft-prometheus-exporter https://github.com/Joshi425/minecraft-exporter

Minecraft server stats [Prometheus] screenshot 1
Minecraft server stats [Prometheus] screenshot 2

Modern dashboard for minecraft-prometheus-exporter

How to

  1. Go to the minecraft-prometheus-exporter repository.
  2. Install and configure the exporter as described (creating a docker compose file will be easier)
  3. Add following in prometheus config:
shell
- 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.

Revisions
RevisionDescriptionCreated

Get this dashboard

Import the dashboard template

or

Download JSON

Datasource
Dependencies