Closed cyberbit closed 11 months ago
Concept:
backplane:addInput('custom_in_1', function () -- do stuff -- can also return MetricCollection, this is sugar return { custom_metric_1 = 123, custom_metric_2 = 4.999127 } end) backplane:addOutput('custom_out_1', function (metrics) -- metrics = { -- { -- name = 'metric', -- value = 123, -- unit = 'unit', -- adapter = 'adapter', -- source = 'source' -- }, -- ... -- } -- do stuff end)
Concept: