Forge 1.16.5 server with RCON enabled but not getting tps, ticktime or player_online metrics
Closed this issue · 1 comments
KevBelisle commented
I have RCON configured:
- RCON_HOST=111.222.3.4
- RCON_PORT=25575
- RCON_PASSWORD=supersecretpassword
Here is what the end of the /metrics endpoint looks like:
# HELP dim_tps_total TPS of a dimension
# TYPE dim_tps_total counter
# HELP dim_ticktime_total Time a Tick took in a Dimension
# TYPE dim_ticktime_total counter
# HELP overall_tps_total overall TPS
# TYPE overall_tps_total counter
# HELP overall_ticktime_total overall Ticktime
# TYPE overall_ticktime_total counter
# HELP player_online_total is 1 if player is online
# TYPE player_online_total counter
player_online{player="ImaKlutz"} 1.0
# HELP entities_total type and count of active entites
# TYPE entities_total counter
# 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
KevBelisle commented
My bad, problem was in my docker-compose, had to remove the quotes from my environment settings:
- FORGE_SERVER="True"
- PAPER_SERVER="False"
- DYNMAP_ENABLED="False"
became
- FORGE_SERVER=True
- PAPER_SERVER=False
- DYNMAP_ENABLED=False