HubPages
MMO\admin\monitoring · 1 symbole · générée le 27 Oct 2026
HubPages
HubPages.php:21What the pages of a monitoring hub are made of ({MMO\admin}/monitoring/pages/hub.phtml): mmo.client's design system -- .widgets of tiles, article.card, table.data, .status-tag -- its <mmo-chart> for the curves, and mmo.admin's own elements for what a page does: <mmo-hub-bar> (collect now, reload), <mmo-hub-ack> (acknowledge an incident), <mmo-hub-tools> (the read-only tools).
- Espace de noms
MMO\admin\monitoring
Index
Constantes3
RANGES
the ranges a page's curves can show: seconds => label
SITE_PROBES
the probes of a site, in the order a page shows them
TONES
a reading's status => the design system's tone
Propriétés3
charts
static- Type
- int
hub
staticstyled
static- Type
- bool
Méthodes45
Ago($time)
staticHubPages.php:127Api()
staticHubPages.php:67| retourne | string | HubController's api, for the elements: .../api/hub |
Bars($rows, $label, $value, $format, $link, $note)
staticHubPages.php:517CanCollect()
staticHubPages.php:70| retourne | bool | whether the page may reach the servers (HubController's canCollect) |
Card($title, $body, $note, $class)
staticHubPages.php:218Chart($series, $metrics, $unit, $type, $height, $width)
staticHubPages.php:324Curves of a subject, drawn by mmo-chart.
Deployments($deployments, $site)
staticHubPages.php:492Duration($seconds)
staticHubPages.php:139Empty($message)
staticHubPages.php:224Errors($hub)
staticHubPages.php:191Facts($facts, $keys, $labels)
staticHubPages.php:250Fill($values)
staticHubPages.php:368Gauge($label, $value, $warning, $critical, $text, $fill)
staticHubPages.php:260Gauges($m)
staticHubPages.php:268Guard()
staticHubPages.php:52The hub, or a callout saying why there is none: a page shows nothing else then.
H($value)
staticHubPages.php:104Header($hub, $title, $subtitle, $ranges)
staticHubPages.php:172Host($url)
staticHubPages.php:148Hub()
staticHubPages.php:38| retourne | Hub | the hub HubController is configured with (its hub), read once |
Incidents($incidents, $empty)
staticHubPages.php:455Level($value, $warning, $critical, $below)
staticHubPages.php:159Mb($value)
staticHubPages.php:121Ms($value)
staticHubPages.php:118Number($value, $decimals)
staticHubPages.php:110Percent($value)
staticHubPages.php:116ProbeTags($target)
staticHubPages.php:418Query($key)
staticHubPages.php:97Range()
staticHubPages.php:91| retourne | int | seconds of curves the page shows: ?range=, a day by default |
Ranges()
staticHubPages.php:180| retourne | string | the links to the other ranges of the curves |
ReadingCard($probe, $reading)
staticHubPages.php:478ServerCard($server, $targets)
staticHubPages.php:391SetHub($hub)
staticHubPages.php:46Use another hub (a test).
Setting($name)
staticHubPages.php:73SitesTable($targets)
staticHubPages.php:428Spark($lines, $max)
staticHubPages.php:282A small curve, no axis: a card's or a row's last day.
Status($status, $label, $title)
staticHubPages.php:153Strip($statuses)
staticHubPages.php:303Styles()
staticHubPages.php:533The few styles the design system has no class for: the gauges, the strip, the bars, the dots. Once a page.
| retourne | string |