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

Two real connections to the Metric Broker, one per encoding, on your sandbox's Group C84A. Subscribe both, publish from one: the other receives the same measurement. Every frame below was on the wire. Docs ↗

bytes Not connected
sent
0 frames · 0 B
received
0 frames · 0 B
json Not connected
sent
0 frames · 0 B
received
0 frames · 0 B

Send ops

  1. [0] x none: the server sets it

    address "C84A:3E01" in JSON: Group and Tag in one field

Your Tokens only reach Group C84A: any other Group is refused by the broker itself (forbidden).

Connect first: the buttons above open each connection.

Send a frame by hand

A frame as you type it, sent as is, malformed or not: see what the broker does with it. A bad bytes frame closes the connection (1007); text on a bytes connection, or binary on a json one, closes it too (1003). Docs ↗

a binary frame of 5 B

Measurements received

No measurements yet: subscribe a connection to the Group, then publish.

REST

Docs ↗

x: none: the server sets it

POST /api/thuum/metric/data

{
  "measurements": [
    {
      "address": "C84A:3E01",
      "y": 21.5
    }
  ]
}
Through the portal, with a Token for Group C84A only.

Frames

Every frame sent and received, newest first. Open one to see it byte by byte.

Nothing sent or received yet.

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 ↗