Skip to content
This repository has been archived by the owner on May 1, 2023. It is now read-only.

minetest-monitoring/monitoring_digilines

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Monitoring, digilines component

Overview

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

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages