Niklp09 / monitoring

Monitoring mod for minetest server owners

Home Page:https://forum.minetest.net/viewtopic.php?f=9&t=22472

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Monitoring framework for minetest

Provides a prometheus monitoring endpoint (via push-gateway).

Demo

Documentation

Features

  • Builtin metrics (lag, mapgen, time, uptime, auth, etc.).
  • Supports the gauge, counter and histogram metrics.

Mod integrations

  • advtrains
  • technic
  • mesecons
  • digtron
  • protector

Screenshots

Pipeworks Features

  • Tubed item management (flushing)
  • Enable and disable pipeworks at runtime
  • Item expiration (tubed items only stay 10 minutes in the pipes)
  • Item injection limit per mapchunk

Chatcommands

  • /pipeworks_flush flushes (removes) all items in the tubes
  • /pipeworks_stats shows the item count
  • /pipeworks_enable enables the pipeworks mod at runtime
  • /pipeworks_disable disables the pieworks mod at runtime
  • /pipeworks_check_limit check the injection limits on the current mapchunk
  • /pipeworks_limit_stats shows the chunk with the highest injection rate

Metric controller

Usage:

Reading:

if event.type == "program" then
  -- query metric by its name
  digiline_send("ctrl_channel", "pipeworks_entity_count")
end

if event.type == "digiline" and event.channel == "ctrl_channel" then
  print("Pipeworks entities: " .. event.msg)
end

Writing:

digiline_send("channel", {
	metric = "ingame_lua_tube_mese",
	help = "my mese lua tube count"
	counter = true,
	increment = true,
	value = 20
})

License

About

Monitoring mod for minetest server owners

https://forum.minetest.net/viewtopic.php?f=9&t=22472

License:Other


Languages

Language:Lua 99.0%Language:Dockerfile 0.5%Language:Shell 0.4%Language:Mathematica 0.2%