Thuum Playground

Metric Broker

A programmer's calculator for the Metric Broker: build Tags, encode values, compose and decode frames byte by byte, then publish, subscribe and query the real broker.

Fields: countopgroupidx digity digitxycode

A Tag is 16 bits: an x digit, a y digit (together, the dtype) and an id. Pick or type any part; the rest follows. Docs ↗

hex 3 E 01
bits (click to flip)
x · 15–12 y · 11–8 id · 7–0
decimal 15873
x digit
3 · sns · time in ns, set by the server, rounded down to the nanosecond · x in a pub: 0 B, in meas: 8 B
y digit
E · f32 · float, 4 B · kk 11 ww 10
id
01 · 1
on the wire
013 E little-endian: the id byte first, then the dtype
address
"7B19:3E01" the address of this Tag in your sandbox's Group 7B19: JSON and REST name one series this way 197B013 E on the wire: the Group's two bytes, then the Tag's (little-endian)
dtype
sns_f32 · pub 9 B · meas 17 B · mb_data_tf
Tags of this dtype
3E00–3EFF (15872–16127)
interpolation
step-hold · linear · spline Docs ↗

A shared demo on Thuum's own Domain: data is kept for 24 hours, at most 1000 points per Group. Don't put anything private here. Docs ↗