mc-monitor
mc-monitor copied to clipboard
Unknown Telegraph debug stats
I am having issues getting any more status than response time from mc-monitor. I found that passing an environment variable of debug:true to the container would change to debug mode.
Within my container, I only see a debug log for gathering, but it doesn't list what it may be gathering.
2021-02-08T14:47:55.451Z DEBUG gather project/telegraf.go:49 gathering {"host": "minecraft-creative", "port": "19132"}
For my commands in docker-compose I have the following: command: gather-for-telegraf status-bedrock environment: - GATHER_INTERVAL=10s - GATHER_TELEGRAF_ADDRESS=telegraf:8094 - GATHER_SERVERS=minecraft-creative:19132
Apparently I never went back and added bedrock support for "gather-for-telegraf". I had personally moved on to using a Prometheus stack rather than TCIK, so (selfishly) had only added bedrock support to "export-for-prometheus".
Side note: you're passing two commands "gather-for-telegraf status-bedrock". Pass just "gather-for-telegraf".
Ok. Thanks for the quick response. I was looking through the code and didn't see support for bedrock in there after I couldn't get it to work. :)
This is a good enough reason for me to try out Prometheus. I tested it out and it works well. Thanks