Welcome to the Hangar Open Beta. Please report any issue you encounter on GitHub!
Prometheus exporter for Paper servers: TPS, tick times, players, chunks, entities and JVM metrics on /metrics.
SculkMetrics 0.1.0: first release
This is the first public release of SculkMetrics, a Prometheus exporter for Paper servers.
Features
- Tick metrics: histogram
sculk_tick_duration_seconds. You can derive TPS, median tick time and lag spikes from it. - Players:
sculk_players_onlineandsculk_players_max - Per-world metrics: loaded chunks, block entities, entities by namespaced type (
minecraft:zombie, …) and world size on disk - JVM and process metrics: the standard
jvm_*andprocess_*metrics - Exporter health:
sculk_collect_duration_seconds,sculk_collect_errors_totalandsculk_build_info - Container-friendly: binds to
0.0.0.0:9940by default - Configuration: set it through environment variables (
SCULK_*) or an optionalplugins/SculkMetrics/sculkmetrics.properties. The plugin never writes the file. - Safe for the server: world sizes are measured on a background thread, and an error in the exporter never crashes the server.
Requirements
- Paper 26.3
- Java 25
Notes
- Metrics are served at
http://<host>:9940/metrics. /reloadis not supported. Restart the server instead.- Bearer token authentication (
token,token-file) comes in 0.2.0. In this version, setting either key only logs a warning and the endpoint stays open. Do not expose the port publicly: bind it to localhost or put a firewall in front of it. - The JAR is built reproducibly with Nix. You can find the SHA-256 and verification steps in the GitLab release.
Platforms
Paper
26.3