Jump to content

Recommended Posts

Posted (edited)

Hello there to all of you,

I am developer, but mostly in C# and Java is on the second track. I am currently hosting a Minecraft server and I wanted to monitor its performance using Grafana with prometheus database. I have found a mod which exports almost all of required data (Players, tps, jvm status etc.) I wanted to improve the mod, to export entity count as well (Old servers often were acting strangely with high entity count in some chunk loaded factory where the machine got stuck .. etc etc)
I have tried to find a way of counting those entity, reading the Forge documentation didnt help me (Registering an event handler sounds strange to me, there must be some list of entities which I might be able to siply count). Is there some easy way of getting the count of all living entities?
(The exporter I am trying to improve : link to Github)

Thank you for the support,
Silent

Edited by silentkiller159
typo

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.