sladkoff / minecraft-prometheus-exporter

A Bukkit plugin which exports minecraft server stats to Prometheus
MIT License
446 stars 65 forks source link

[Bug Report] [1.20.4] Failed to find tick times buffer via reflection. #208

Closed sladkoff closed 10 months ago

sladkoff commented 11 months ago

Logs

...
minecraft-prometheus-exporter-mc-1  | [17:51:53 INFO]: This server is running Paper version git-Paper-366 (MC: 1.20.4) (Implementing API version 1.20.4-R0.1-SNAPSHOT) (Git: 983377b)
...
minecraft-prometheus-exporter-mc-1  | [17:51:57 INFO]: [PrometheusExporter] Enabling PrometheusExporter v2.6.0
minecraft-prometheus-exporter-mc-1  | [17:51:57 WARN]: [PrometheusExporter] Failed to find tick times buffer via reflection. Tick duration metrics will not be available.

Further Context

This happens on 1.20.4 but not on any previous version. The tick times metric is unavailable but the rest of the plugin works.

sladkoff commented 11 months ago

According to my knowledge, 1.20.4 Bukkit/Spigot is still experimental as of now and not recommended for general use so this has no priority yet.

Source: https://www.spigotmc.org/threads/spigot-bungeecord-1-20-4.628172/