Skip to content

Web Dashboard

pablop edited this page Sep 17, 2026 · 1 revision

Web Dashboard

The control API serves a dashboard at http://localhost:8100/: live telemetry panels, the UE trajectory over the scenario, and a control panel that writes the runtime knobs. It needs no display on the machine running the emulator, so SSH with port forwarding is enough to watch a run on a server.

./bin/fikore config/control_demo.ini &
./run_scripts/run_api.sh &
# then open http://localhost:8100/  (or ssh -L 8100:localhost:8100 <host>)

The emulator side needs a [Control] section and an extra UDP output in [Monitoring] pointing at the collector. config/control_demo.ini has both.

What it shows

Eleven time series panels, each with one line per UE and a shared time axis: throughput, SINR, latency, congestion signal rate and drop rate for both directions, plus the emulator step time and the control plane's own activity. And a trajectory panel with the UEs over the scenario.

A gap is not a zero. A detached UE stops emitting, so its line breaks instead of falling to zero. Same for any window a UE did not report.

A panel says when it has no source. Each panel is fed by a measurement, and those are switched on in [Monitoring]. A panel whose measurement never arrived shows which emit_* flag it needs rather than an unexplained hole.

Reading the trajectory

The gNB sits at the origin, with distance rings labelled in metres and the scenario boundary drawn. Each UE keeps the colour it has in every other panel. The trail fades with age and the head carries a heading arrow, so you can tell where the UE came from.

Control state is visible: a detached UE is grey with a frozen trail, and a rate capped UE carries a ring.

Optionally, the scenario's macroscopic fading map can be painted underneath in false colour, with the slider under the panel. It explains at a glance why a UE loses SINR in a particular spot. The colour scale is clipped to the 1st and 99th percentiles, because these maps have a long tail and colouring by the extremes leaves them flat.

The shared cursor

Pointing at an instant in any chart moves the cursor of every other chart to the same instant and rings the position each UE held right then on the trajectory, dimming the part of the trail that comes after. Hovering a trail does the reverse: the charts jump to the instant of that point.

This is the diagnostic loop the dashboard exists for: you see a throughput drop twelve seconds ago, hover it, and the map tells you where the UE was.

Positions come from ue_mobility, which reports the last value of each aggregation window, so the dashboard shows the nearest reported window and draws nothing when none is close. It never interpolates a position the emulator did not report.

Sending commands

The control panel is generated from describe, so every knob appears with its unit, range and description, and a knob added to the catalogue shows up without touching the dashboard. See Runtime Control for what each one does.

The UE selector on the left is both the filter for the charts and the target of the command: one UE, several — sent as a batch — or all of them, which goes as ue/*.

Four things worth knowing:

  • Values shown under each knob are read back from the emulator after every write, not remembered from what was sent.
  • dl.inject_bytes and ul.inject_bytes are incremental: the button says inject, and pressing it twice injects twice.
  • Detaching a UE asks for confirmation. It drops the UE's live buffers and re-enabling does not bring them back.
  • Under round robin (metric_type: 5) the header says so, because the scheduler ignores priority and the knob will appear to do nothing.

The Applied list keeps the recent commands with the TTI at which the emulator applied them. Clicking one moves every chart cursor to that instant, which is the quickest way to see what a change did.

The dashboard talks to the emulator only through the API. The emulator accepts a single control client, so a page that opened its own socket would compete with the API for that slot. Going through the API also means several people can watch the same run at once.

Not included

No authentication. Serve it on loopback and reach it over SSH. Exposing it beyond that is the deferred security decision, and the dashboard can detach UEs.

No barrier mode. A UI that grants credit is the controller of the experiment, not a viewer. Use sync_mode: async for interactive debugging.

Offline runs are better read from the logs. They are deterministic and py_analyzers/ reads them. The dashboard is for watching a live run.

Clone this wiki locally