Expand description
The charts of one queue (doc 34, TUI-MON-*, TUI-MSG-11): Enter on a topic opens three charts stacked on a
common time axis. Each reading of GET /stats/topics/{name} becomes one point per line; the history is only
what was sampled since the charts were opened.
- the messages that are visible and those that are invisible (delivered and waiting for their ack);
- the flow: published, delivered and acknowledged (deleted) per second;
- the age of the oldest message of the queue and of its largest groups.
Modules§
- view
- The drawing of the charts of a queue: three line charts stacked on one time axis, each with its legend and the current value of every line in its title.
Structs§
- Chart
Def - What a chart draws: a title and its lines (a key into
TopicMonitor::seriesand the catalog key of the legend). - LineDef
- A line of a chart: its series key and its legend text.
Constants§
- CHARTS
- MAX_
GROUPS - The most groups drawn in the chart of ages.
Functions§
- export_
csv - The visible lines of the three charts as CSV (TUI-MON-07): the time in UTC and one column per line.
- line_
points - The points of a line: the window, up to the instant the chart was frozen at.
- lines_
of - The lines of a chart now: the fixed ones, then one per group being followed.
- on_
action - The keys of an open topic dialog:
Esccloses it, the rest are those of the view being shown. - open
Enter(the charts) orx(the messages) on the list: opens the selected topic. A distributor has no queue, so it has no charts: only its messages can be opened, to publish.- record
- Keeps a reading: one point per line. A queue with no messages has an oldest age of zero; a group that is not in the reading leaves a gap.
- window_
ms - The window in milliseconds, never above what the history retains (TUI-MON-03).