palworldlol / palworld-exporter

Prometheus metrics exporter for Palword Server
https://palworld.lol
MIT License
17 stars 2 forks source link

Report server fps #9

Open SeanOMik opened 8 months ago

SeanOMik commented 8 months ago

It would be cool to get server fps exported as well. I feel like it's a good metric to track to quickly view the health of the server.

bostrt commented 8 months ago

I would love this too! Do you know how to gather it?

SeanOMik commented 7 months ago

No I don't, sorry. I wasn't sure if it was considered since I didn't see issues for it, or it listed as a feature.

I saw that there was some type of info command that you can run from rcon. Does that not include the server TPS?

bostrt commented 7 months ago

Unfortunately, it does not :disappointed: It only shows the server name and version. If I see anything in the wild about querying the server FPS I will certainly try and add it to this exporter though.

bostrt commented 6 months ago

The latest Palworld update has a REST API that includes the Server FPS! :confetti_ball: https://tech.palworldgame.com/api/rest-api/metrics

Next week, I will work on implementing this in the exporter.