Prometric
Prometheus exporter for PaperMC server
Metrics
All metrics are prefixed with mc_*
.
- online players count
- online players ping
- total placed blocks by player (during a session)
- total broken blocks by player (during a session)
- total player deaths
- total player kills
- player time since last death (in s)
Config
In the plugin configuration file plugins/prometric/config.yml
you can customize the port on which the metrics will be exposed
port: 9190 # default
Dev
Use the runServer
gradle task to automatically launch a PaperMC server with the plugin installed
gradlew runServer
Build
Use the shadowJar
gradle task to build the plugin JAR file, will be located in build/libs/
gradlew shadowJar
License
MPL 2.0