Open joshuai96 opened 1 year ago
Hi, though i haven't read through what metrics you are getting, i can tell you that TPS metrics are dependent on either Forge or Paper. In fact all metrics gathered through RCON are from either Forge, Paper or the Dynmap Plugin.
I made a PR #33 where i renamed, it makes it clearer. Maybe the re-written README.md helps you: https://github.com/heathcliff26/minecraft-exporter/blob/upstream/README.md
Hi, thanks yes. The README.md reads as TPS metrics are only RCON dependent. What a shame. TPS stats are, for me, the most useful stats.
I moved to paper server, changed the ENV file.
RCON_HOST=minecraft-paper-server
RCON_PORT=25575
RCON_PASSWORD=****
FORGE_SERVER=False
PAPER_SERVER=True
DYNMAP_ENABLED=False
printenv
inside the Container reads PAPER_SERVER=True
, but still no TPS stats are exported.
Excerpt of the exported stats:
# HELP paper_tps_1m_total 1 Minute TPS
# TYPE paper_tps_1m_total counter
# HELP paper_tps_5m_total 5 Minute TPS
# TYPE paper_tps_5m_total counter
# HELP paper_tps_15m_total 15 Minute TPS
# TYPE paper_tps_15m_total counter
As it stands, there are seemingly no RCON commands issued, even though the exported log says:
RCON is enabled for minecraft-paper-server
Successfully connected to RCON
Exporter started on Port 8000
flushing playername cache
server.properties excerpt:
broadcast-console-to-ops=true
broadcast-rcon-to-ops=true
server log excerpt, when restarting the exporter container:
[19:47:30 INFO]: Thread RCON Client /172.18.0.4 shutting down
[19:47:46 INFO]: Thread RCON Client /172.18.0.4 started
I verified functionality of the paper tps
command, and checked the used regex in the code. That seems to still match.
I think the error is that seemingly no RCON commands are issued to the RCON.
EDIT: After checking RCON commands with a logged in OP, RCON commands does not seem to be broadcasted to OPs either.
Having the same issue. Can't seem to get any of the rcon metrics. in my server logs I do see that it's querying /list.
[10:23:54 INFO]: [Essentials] Rcon issued server command: /list
[10:24:09 INFO]: [Essentials] Rcon issued server command: /list
[10:24:24 INFO]: [Essentials] Rcon issued server command: /list
[10:24:39 INFO]: [Essentials] Rcon issued server command: /list
[10:24:54 INFO]: [Essentials] Rcon issued server command: /list
[10:25:09 INFO]: [Essentials] Rcon issued server command: /list
[10:25:24 INFO]: [Essentials] Rcon issued server command: /list
[10:25:39 INFO]: [Essentials] Rcon issued server command: /list
[10:25:54 INFO]: [Essentials] Rcon issued server command: /list
[10:26:09 INFO]: [Essentials] Rcon issued server command: /list
[10:26:24 INFO]: [Essentials] Rcon issued server command: /list
[10:26:39 INFO]: [Essentials] Rcon issued server command: /list
[10:26:54 INFO]: [Essentials] Rcon issued server command: /list
[10:27:09 INFO]: [Essentials] Rcon issued server command: /list
[10:27:24 INFO]: [Essentials] Rcon issued server command: /list
[10:27:39 INFO]: [Essentials] Rcon issued server command: /list
[10:27:54 INFO]: [Essentials] Rcon issued server command: /list
Yes, Paper had a new format for the paper tps
command output, so it will not parse on 1.20+
Some metrics are not exported. I'm using a vanilla Minecraft 1.20.1 server and the exporter in containers. Especially TPS metrics are important to me.
Exporter ENV file:
Server shows RCON connection:
Exporter logs:
Exporter excerpt:
The README.md mentions spam to the RCON, but I don't see any commands being executed, even when
are enabled.