Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown Telegraph debug stats #1

Open
reslip1 opened this issue Feb 8, 2021 · 2 comments
Open

Unknown Telegraph debug stats #1

reslip1 opened this issue Feb 8, 2021 · 2 comments

Comments

@reslip1
Copy link

reslip1 commented Feb 8, 2021

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

@itzg
Copy link
Owner

itzg commented Feb 8, 2021

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".

@reslip1
Copy link
Author

reslip1 commented Feb 8, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants