Simple exporter for the minecraft metrics protocol mod: https://github.com/BlackLotus-SMP/metrics-protocol
You can find the docs on how to deploy the service here.
./metrics-exporter -p 8855 -interval 15 -mcAddress 127.0.0.1 -mcPort 25565-p- port the service will be listening to
- default = 8462
-interval- in seconds, the interval of time the service will check for new minecraft metrics
- default = 30
-mcAddress- address (ip/dns) of the mc server
- default = 127.0.0.1
-mcPort- port of the mc server
- default = 25565
Find the grafana dashboard here: https://grafana.com/grafana/dashboards/18730-fabric-minecraft-metrics/
- endpoint:
/metrics - command:
curl 127.0.0.1:{port}/metrics - run: returns the minecraft server metrics in a prometheus compatible format
- endpoint:
/healthcheck - command:
curl 127.0.0.1:{port}/healthcheck - run: Just returns 200, this is for docker/kubernetes integration