TE
TechEcho
StartseiteTop 24hNeuesteBesteFragenZeigenJobs
GitHubTwitter
Startseite

TechEcho

Eine mit Next.js erstellte Technologie-Nachrichtenplattform, die globale Technologienachrichten und Diskussionen bietet.

GitHubTwitter

Startseite

StartseiteNeuesteBesteFragenZeigenJobs

Ressourcen

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. Alle Rechte vorbehalten.

Monitoring my Minecraft server with OpenTelemetry and Prometheus

91 Punktevon mmanciopvor 5 Tagen
My kids demand SLOs stricter than Moon exploration technology, so I had to monitor our family’s Minecraft server Minecraft server like a pro. As luck would have it, I am one.

4 comments

darknavivor 1 Tag
&gt; Microsoft made things confusing by adding the Bedrock server, which reportedly uses a combination of C, C# and Java,<p>No C# in Bedrock. No Java unless you&#x27;re talking about the Android versions. Very little C.<p>It&#x27;s mostly C++.
评论 #43960366 未加载
doabellvor 1 Tag
&gt; I am a man of simple tastes, and running the “vanilla” Minecraft server as a Systemd unit on a Linux VM in the cloud<p>Minecraft is famously under-optimized and needy in terms of CPU frequency. If running a vanilla (no server mods) version, then using something optimized, like PaperMC is a better idea for datacenter VMs. (Until you need to dupe sand or something.)<p>The other route is installing a bunch of optimization mods - some really do help.
评论 #43960967 未加载
评论 #43959692 未加载
strogonoffvor 1 Tag
Monitoring and metric collection makes a lot of sense when you run a production system, or a personal but critical system.<p>Promoting a telemetry solution when it comes to a hobby server, which you host for yourself and which can’t bankrupt you by running up a massive AWS bill, doesn’t seem to make much sense when simply bottling it up in Docker and being able to restart or recreate at will is enough (mount volumes for logs and persistent data, back it up, and you’re good).<p>With games like Minecraft in particular there’s value in being able to have multiple servers with different worlds, perhaps different mods, etc. If you decide not to have more servers because they are snowflakes you do not have time to set up monitoring for then you rob yourself and your players of the opportunity to have more fun.<p>Furthermore, containerizing it allows you to upgrade as new game versions come out quickly by simply spinning up a new container with your preexisting world as a test, and you get you basic system resource usage monitoring built-in.<p>What I think could be a more interesting exercise is a dashboard for friends or family that allows to manage the lifetime and configuration of their respective containers.
评论 #43959039 未加载
评论 #43960099 未加载
评论 #43958858 未加载
评论 #43958942 未加载
评论 #43958865 未加载
评论 #43960009 未加载
评论 #43960407 未加载
cpburns2009vor etwa 12 Stunden
&gt; The minecraft-prometheus-exporter ... which uses Fabric, another way to run Minecraft servers with mods. Like Bukkit, Fabric was not an option for me.<p>Forge and its recent fork Neoforge are supported too.