sladkoff / minecraft-prometheus-exporter

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

[Feature Request] Folia support #198

Closed Netherwhal closed 9 months ago

Netherwhal commented 1 year ago

Would be great if Folia could be supported with this plugin.

sladkoff commented 11 months ago

Notes for further development:

sladkoff commented 11 months ago

As of right now the documentation on Folia Plugin development is rather limited and the whole subject is not quite stable. Let's keep this open for the near future.

sladkoff commented 9 months ago

I had a more in-depth look at this as it seems to be a requested topic.

Open questions and challenges for implementing Folia support

PedroMPagani commented 9 months ago

You can get that information with thread-access in folia-dev. Look at spark implementation of Folia.

sladkoff commented 9 months ago

You can get that information with thread-access in folia-dev. Look at spark implementation of Folia.

I think I found the relevant commit. @PedroMPagani That's a nice source, thank you.

sladkoff commented 9 months ago

The current plan is to release a new version soon which will include rudimentary support for Folia - only a small set of metrics will be provided.

I will create additional tasks for making the Folia implementation more feature-complete.

sladkoff commented 9 months ago

@Netherwhal Rudimentary Folia support is now available in v3.0.0. Lots of metrics are still missing though, it will require some more work to get those to work.

The open tasks are tracked here:

Netherwhal commented 9 months ago

thanks so much - this is great! I think TPS is most important now because with JMX also not showing TPS with Folia its currently not possible to measure that.