Hello World Output Source ​
lua
telem.output.helloWorld ()
Writes all metrics out in a reduced format to the terminal, primarily serving as a reference implementation for OutputAdapter and a simple metric logger.
Usage ​
lua
local telem = require 'telem'
local backplane = telem.backplane()
:addInput('my_hello', telem.input.helloWorld(123))
:addOutput('my_hello', telem.output.helloWorld())
:cycleEvery(1)()
Behavior ​
The example usage will produce the following output every cycle:
Hello, hello_world = 123!