| 1 |
<!DOCTYPE html> |
| 2 |
<html lang="en"> |
| 3 |
<head> |
| 4 |
<meta charset="UTF-8"> |
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 |
<title>Mosquitto Broker Dashboard</title> |
| 7 |
<link rel="stylesheet" href="tailwind/styles.css"> |
| 8 |
<link rel="icon" type="image/x-icon" href="media/favicon-16x16.png" sizes="16x16"> |
| 9 |
<link rel="icon" type="image/x-icon" href="media/favicon-32x32.png" sizes="32x32"> |
| 10 |
</head> |
| 11 |
<body class="min-h-screen bg-gray-50"> |
| 12 |
<div id="menu-overlay" class="fixed inset-0 z-40 opacity-0 transition-opacity duration-300"></div> |
| 13 |
|
| 14 |
<!-- sliding menu panel --> |
| 15 |
<div id="sliding-menu" class="fixed top-0 left-0 h-full w-80 bg-white shadow-2xl transform -translate-x-full transition-transform duration-300 ease-in-out z-50"> |
| 16 |
<div class="flex flex-col h-full"> |
| 17 |
<!-- menu header with close button (displayed only for mobile) --> |
| 18 |
<div class="flex items-center justify-between p-6 border-b border-gray-200"> |
| 19 |
<div></div> |
| 20 |
<button id="menu-close" class="p-2 hover:bg-gray-100 rounded-md transition-colors duration-200"> |
| 21 |
<svg class="h-5 w-5 text-gray-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 22 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path> |
| 23 |
</svg> |
| 24 |
</button> |
| 25 |
</div> |
| 26 |
|
| 27 |
<!-- menu content --> |
| 28 |
<div class="flex-1 overflow-y-auto p-6"> |
| 29 |
<nav class="space-y-1 mb-8"> |
| 30 |
<a href="." class="flex items-center gap-3 px-3 py-2 text-gray-700 hover:bg-gray-100 rounded-md transition-colors bg-gray-100"> |
| 31 |
Dashboard |
| 32 |
</a> |
| 33 |
<a href="listeners.html" class="flex items-center gap-3 px-3 py-2 text-gray-700 hover:bg-gray-100 rounded-md transition-colors"> |
| 34 |
Listeners |
| 35 |
</a> |
| 36 |
<a href="https://mosquitto.org/documentation" target="_blank" rel="noopener noreferrer" class="flex items-center gap-3 px-3 py-2 text-gray-700 hover:bg-gray-100 rounded-md transition-colors"> |
| 37 |
Docs |
| 38 |
</a> |
| 39 |
</nav> |
| 40 |
</div> |
| 41 |
|
| 42 |
<!-- menu footer --> |
| 43 |
<div class="border-t border-gray-200 p-6"> |
| 44 |
<a href="https://cedalo.com/link/go-pro-from-mosquitto" target="_blank" rel="noopener noreferrer" class="block w-full text-center bg-c-orange text-white py-2 px-4 rounded-md hover:bg-orange-700 transition-colors duration-200"> |
| 45 |
Go Pro |
| 46 |
</a> |
| 47 |
</div> |
| 48 |
</div> |
| 49 |
</div> |
| 50 |
<script> |
| 51 |
// script that immidiately sets siderbar into the open state (if it was open on the previous page or before refresh) and skips the animation |
| 52 |
// inline to execute the script faster |
| 53 |
const isSidebarOpen = sessionStorage.getItem("isSidebarOpen") === "true"; |
| 54 |
const isDesktop = window.matchMedia("(min-width: 1024px)").matches; |
| 55 |
const openSidebar = isSidebarOpen && isDesktop; |
| 56 |
|
| 57 |
if (openSidebar) { |
| 58 |
document.documentElement.classList.add("sidebar-open", "sidebar-preload"); |
| 59 |
} |
| 60 |
// remove sidebar-preload class after at least one paint so that it does not block animations when we press on the "menu" button |
| 61 |
requestAnimationFrame(() => { // rAF runs before next paint. use double rAF pattern to make sure there was a page paint (styles were applied) before removing sidebar-preload. In paractice, however, a single rAF seems to also be enought. We still leave two for safety |
| 62 |
requestAnimationFrame(() => { |
| 63 |
document.documentElement.classList.remove("sidebar-preload"); |
| 64 |
}); |
| 65 |
}); |
| 66 |
</script> |
| 67 |
<div id="main-content" class="transition-all duration-300 ease-in-out"> |
| 68 |
<div class="p-6"> |
| 69 |
<div class="max-w-7xl mx-auto space-y-6"> |
| 70 |
<!-- header --> |
| 71 |
<div class="sticky bg-gray-50 top-0 z-10 pb-2 flex items-center justify-between"> |
| 72 |
<button id="menu-toggle" class="inline-flex items-center px-3 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-c-orange hover:cursor-pointer hover:text-white transition-colors duration-200"> |
| 73 |
<!-- menu icon --> |
| 74 |
<svg id="hamburger-icon" class="h-4 w-4 transition-opacity duration-200" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 75 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path> |
| 76 |
</svg> |
| 77 |
|
| 78 |
<!-- arrow icon in place of the menu icon when the menu is open (hidden by default) --> |
| 79 |
<svg id="arrow-icon" class="h-4 w-4 hidden transition-opacity duration-200" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 80 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path> |
| 81 |
</svg> |
| 82 |
</button> |
| 83 |
<div id="logo-text" class="flex items-center gap-3 w-64"> |
| 84 |
<img src="media/mosquitto-logo.png"/> |
| 85 |
</div> |
| 86 |
|
| 87 |
<div id="logo-icon" class="hidden"> |
| 88 |
<svg width="71" height="54" viewBox="0 0 114 86" fill="none" xmlns="http://www.w3.org/2000/svg"> |
| 89 |
<path fill-rule="evenodd" clip-rule="evenodd" d="M57.0013 86L58.5908 64.5156L59.8811 47.0706C62.5402 45.9585 64.4064 43.3537 64.4064 40.3183C64.4064 36.2725 61.0902 32.9916 57.0013 32.9916C52.9121 32.9916 49.5962 36.2725 49.5962 40.3183C49.5962 43.3537 51.4625 45.9585 54.1216 47.0706L55.412 64.5156L57.0013 86Z" fill="#F3771C"/> |
| 90 |
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.42676 40.291C6.42676 52.6852 11.0068 64.2874 18.9495 73.2527L14.1625 77.4988C5.1991 67.4059 0 54.2981 0 40.291C0 24.5083 6.55628 10.2381 17.1193 7.62939e-06L17.3602 0.213791L31.52 12.7736C18.2121 24.8448 15.456 44.4755 24.7152 59.5987L29.6037 55.2628C22.5455 42.6463 25.2344 26.7106 36.3333 17.0429L41.1815 21.3426L45.4936 25.168L49.9667 29.1355C48.2936 30.1731 46.8715 31.5698 45.8107 33.2165C44.4992 35.2519 43.7396 37.6684 43.7396 40.2597C43.7396 46.037 47.5151 50.9431 52.7571 52.6942L53.2087 58.7914C44.4739 57.0506 37.8941 49.4142 37.8941 40.2597C37.8941 36.1833 39.1989 32.408 41.4175 29.3198L37.1379 25.5231L37.1219 25.509C30.1062 34.73 30.5396 47.5312 38.0944 56.2719L23.7361 69.0071C9.60061 52.9899 9.19696 29.2169 22.7358 12.7492L17.9465 8.50084C11.336 16.442 7.14974 26.4328 6.51204 37.3633L6.48277 37.3959L6.50886 37.4186C6.45429 38.3692 6.42676 39.3268 6.42676 40.2912V40.291ZM61.2429 52.6942C66.4849 50.9431 70.2608 46.037 70.2608 40.2597C70.2608 37.6684 69.5008 35.2519 68.1898 33.217C67.1285 31.5703 65.7064 30.1731 64.0342 29.1355L68.5069 25.1683L72.8194 21.3426H72.8189L77.6672 17.0429C88.7656 26.7106 91.455 42.6463 84.3968 55.2628L89.2848 59.5987C98.5445 44.4755 95.7883 24.8448 82.48 12.7736L96.6408 0.212845L96.8807 7.62939e-06C107.444 10.2381 114 24.5083 114 40.291C114 54.2981 108.801 67.4059 99.838 77.4988L95.0505 73.2527C102.994 64.2874 107.573 52.6852 107.573 40.291C107.573 39.3266 107.546 38.369 107.492 37.4184L107.517 37.3958L107.488 37.3632C106.851 26.4326 102.664 16.4419 96.054 8.50068L91.2647 12.7491C104.804 29.2167 104.4 52.9897 90.2639 69.007L75.9061 56.2718C83.4609 47.531 83.8943 34.7299 76.8784 25.5088L76.8621 25.523L72.5825 29.3202C74.8011 32.4078 76.1059 36.1836 76.1059 40.2596C76.1059 49.414 69.5261 57.05 60.7918 58.7913L61.2429 52.6941V52.6942Z" fill="#3C5280"/> |
| 91 |
</svg> |
| 92 |
</div> |
| 93 |
</div> |
| 94 |
|
| 95 |
<div class="p-4"></div> |
| 96 |
<!-- broker information --> |
| 97 |
<div class="card flex items-top gap-3 p-6"> |
| 98 |
<div id="broker-info-icon" class="mr-[3%] hidden"> |
| 99 |
<svg width="114" height="86" viewBox="0 0 114 86" fill="none" xmlns="http://www.w3.org/2000/svg"> |
| 100 |
<path fill-rule="evenodd" clip-rule="evenodd" d="M57.0013 86L58.5908 64.5156L59.8811 47.0706C62.5402 45.9585 64.4064 43.3537 64.4064 40.3183C64.4064 36.2725 61.0902 32.9916 57.0013 32.9916C52.9121 32.9916 49.5962 36.2725 49.5962 40.3183C49.5962 43.3537 51.4625 45.9585 54.1216 47.0706L55.412 64.5156L57.0013 86Z" fill="#F3771C"/> |
| 101 |
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.42676 40.291C6.42676 52.6852 11.0068 64.2874 18.9495 73.2527L14.1625 77.4988C5.1991 67.4059 0 54.2981 0 40.291C0 24.5083 6.55628 10.2381 17.1193 7.62939e-06L17.3602 0.213791L31.52 12.7736C18.2121 24.8448 15.456 44.4755 24.7152 59.5987L29.6037 55.2628C22.5455 42.6463 25.2344 26.7106 36.3333 17.0429L41.1815 21.3426L45.4936 25.168L49.9667 29.1355C48.2936 30.1731 46.8715 31.5698 45.8107 33.2165C44.4992 35.2519 43.7396 37.6684 43.7396 40.2597C43.7396 46.037 47.5151 50.9431 52.7571 52.6942L53.2087 58.7914C44.4739 57.0506 37.8941 49.4142 37.8941 40.2597C37.8941 36.1833 39.1989 32.408 41.4175 29.3198L37.1379 25.5231L37.1219 25.509C30.1062 34.73 30.5396 47.5312 38.0944 56.2719L23.7361 69.0071C9.60061 52.9899 9.19696 29.2169 22.7358 12.7492L17.9465 8.50084C11.336 16.442 7.14974 26.4328 6.51204 37.3633L6.48277 37.3959L6.50886 37.4186C6.45429 38.3692 6.42676 39.3268 6.42676 40.2912V40.291ZM61.2429 52.6942C66.4849 50.9431 70.2608 46.037 70.2608 40.2597C70.2608 37.6684 69.5008 35.2519 68.1898 33.217C67.1285 31.5703 65.7064 30.1731 64.0342 29.1355L68.5069 25.1683L72.8194 21.3426H72.8189L77.6672 17.0429C88.7656 26.7106 91.455 42.6463 84.3968 55.2628L89.2848 59.5987C98.5445 44.4755 95.7883 24.8448 82.48 12.7736L96.6408 0.212845L96.8807 7.62939e-06C107.444 10.2381 114 24.5083 114 40.291C114 54.2981 108.801 67.4059 99.838 77.4988L95.0505 73.2527C102.994 64.2874 107.573 52.6852 107.573 40.291C107.573 39.3266 107.546 38.369 107.492 37.4184L107.517 37.3958L107.488 37.3632C106.851 26.4326 102.664 16.4419 96.054 8.50068L91.2647 12.7491C104.804 29.2167 104.4 52.9897 90.2639 69.007L75.9061 56.2718C83.4609 47.531 83.8943 34.7299 76.8784 25.5088L76.8621 25.523L72.5825 29.3202C74.8011 32.4078 76.1059 36.1836 76.1059 40.2596C76.1059 49.414 69.5261 57.05 60.7918 58.7913L61.2429 52.6941V52.6942Z" fill="#3C5280"/> |
| 102 |
</svg> |
| 103 |
</div> |
| 104 |
<div> |
| 105 |
<div> |
| 106 |
<h2 class="text-lg font-semibold">Broker Information</h2> |
| 107 |
</div> |
| 108 |
<div> |
| 109 |
<div class="grid grid-rows-3 gap-1 text-sm"> |
| 110 |
<div> |
| 111 |
<span class="text-gray-500">version:</span> |
| 112 |
<span class="ml-2" id="broker-version"></span> |
| 113 |
</div> |
| 114 |
<div> |
| 115 |
<span class="text-gray-500">uptime:</span> |
| 116 |
<span class="ml-2" id="broker-uptime">?</span> |
| 117 |
</div> |
| 118 |
<div> |
| 119 |
<span class="text-gray-500">status:</span> |
| 120 |
<div class="inline-block w-2 h-2 bg-gray-500 rounded-full ml-2 mr-2" id="broker-status"></div> <!-- broker active/inactive status dot. depends on the class set from js code (broker-active vs broker-inactive) --> |
| 121 |
<span class="text-gray-700" id="broker-status-text"></span> <!-- broker status text, set from js--> |
| 122 |
</div> |
| 123 |
</div> |
| 124 |
</div> |
| 125 |
</div> |
| 126 |
</div> |
| 127 |
|
| 128 |
<!-- metrics grid --> |
| 129 |
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 gap-4"> |
| 130 |
<div class="card relative"> |
| 131 |
<details class="group absolute top-2 right-2"> |
| 132 |
<summary |
| 133 |
class="flex h-8 w-8 items-center justify-center rounded-full border border-gray-300 bg-white/80 |
| 134 |
hover:bg-white focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer" |
| 135 |
aria-label="more info" |
| 136 |
> |
| 137 |
<!-- info icon --> |
| 138 |
<svg xmlns="http://www.w3.org/2000/svg" viewbox="0 0 200 200" width="30" height="30"> |
| 139 |
<!-- outer circle --> |
| 140 |
<circle cx="100" cy="100" r="80" fill="none" stroke="rgb(107, 114, 128, 0.8)" stroke-width="16" stroke-linecap="round"/> |
| 141 |
<!-- dot on top of the "i" --> |
| 142 |
<circle cx="100" cy="65" r="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 143 |
<!-- vertical line of the "i" --> |
| 144 |
<rect x="88" y="90" width="24" height="55" rx="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 145 |
</svg> |
| 146 |
</summary> |
| 147 |
|
| 148 |
<!-- popup panel --> |
| 149 |
<div class="group-open:block hidden absolute right-0 mt-2 w-64 rounded-xl border border-gray-200 bg-white p-3 text-sm shadow-lg z-10"> |
| 150 |
<div class="font-medium mb-1">clients online</div> |
| 151 |
<p class="text-gray-600 break-words"> |
| 152 |
Number of currently connected clients. Topic: <code>$SYS/broker/clients/connected</code> |
| 153 |
</p> |
| 154 |
</div> |
| 155 |
</details> |
| 156 |
|
| 157 |
<div class="card-content"> |
| 158 |
<div class="metric-label">clients online</div> |
| 159 |
<div class="metric-value" id="clients-connected">?</div> |
| 160 |
</div> |
| 161 |
</div> |
| 162 |
<div class="card relative"> |
| 163 |
<details class="group absolute top-2 right-2"> |
| 164 |
<summary |
| 165 |
class="flex h-8 w-8 items-center justify-center rounded-full border border-gray-300 bg-white/80 |
| 166 |
hover:bg-white focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer" |
| 167 |
aria-label="more info" |
| 168 |
> |
| 169 |
<!-- info icon --> |
| 170 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="30" height="30"> |
| 171 |
<!-- Outer circle --> |
| 172 |
<circle cx="100" cy="100" r="80" fill="none" stroke="rgb(107, 114, 128, 0.8)" stroke-width="16" stroke-linecap="round"/> |
| 173 |
<!-- Dot on top of the "i" --> |
| 174 |
<circle cx="100" cy="65" r="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 175 |
<!-- Vertical line of the "i" --> |
| 176 |
<rect x="88" y="90" width="24" height="55" rx="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 177 |
</svg> |
| 178 |
</summary> |
| 179 |
|
| 180 |
<!-- popup panel --> |
| 181 |
<div class="group-open:block hidden absolute right-0 mt-2 w-64 rounded-xl border border-gray-200 bg-white p-3 text-sm shadow-lg z-10"> |
| 182 |
<div class="font-medium mb-1">clients total</div> |
| 183 |
<p class="text-gray-600 break-words"> |
| 184 |
The total number of online and offline client sessions currently connected and registered on the broker. Topic: <code>$SYS/broker/clients/total</code> |
| 185 |
</p> |
| 186 |
</div> |
| 187 |
</details> |
| 188 |
|
| 189 |
<div class="card-content"> |
| 190 |
<div class="metric-label">clients total</div> |
| 191 |
<div class="metric-value" id="clients-total">?</div> |
| 192 |
</div> |
| 193 |
</div> |
| 194 |
<div class="card relative"> |
| 195 |
<details class="group absolute top-2 right-2"> |
| 196 |
<summary |
| 197 |
class="flex h-8 w-8 items-center justify-center rounded-full border border-gray-300 bg-white/80 |
| 198 |
hover:bg-white focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer" |
| 199 |
aria-label="more info" |
| 200 |
> |
| 201 |
<!-- info icon --> |
| 202 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="30" height="30"> |
| 203 |
<!-- Outer circle --> |
| 204 |
<circle cx="100" cy="100" r="80" fill="none" stroke="rgb(107, 114, 128, 0.8)" stroke-width="16" stroke-linecap="round"/> |
| 205 |
<!-- Dot on top of the "i" --> |
| 206 |
<circle cx="100" cy="65" r="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 207 |
<!-- Vertical line of the "i" --> |
| 208 |
<rect x="88" y="90" width="24" height="55" rx="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 209 |
</svg> |
| 210 |
</summary> |
| 211 |
|
| 212 |
<!-- popup panel --> |
| 213 |
<div class="group-open:block hidden absolute right-0 mt-2 w-64 rounded-xl border border-gray-200 bg-white p-3 text-sm shadow-lg z-10"> |
| 214 |
<div class="font-medium mb-1">clients expired</div> |
| 215 |
<p class="text-gray-600 break-words"> |
| 216 |
The number of disconnected persistent clients that have been expired and removed through the <code>persistent_client_expiration</code> option. Topic: <code>$SYS/broker/clients/expired</code> |
| 217 |
</p> |
| 218 |
</div> |
| 219 |
</details> |
| 220 |
|
| 221 |
<div class="card-content"> |
| 222 |
<div class="metric-label">clients expired</div> |
| 223 |
<div class="metric-value" id="clients-expired">?</div> |
| 224 |
</div> |
| 225 |
</div> |
| 226 |
<div class="card relative"> |
| 227 |
<details class="group absolute top-2 right-2"> |
| 228 |
<summary |
| 229 |
class="flex h-8 w-8 items-center justify-center rounded-full border border-gray-300 bg-white/80 |
| 230 |
hover:bg-white focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer" |
| 231 |
aria-label="more info" |
| 232 |
> |
| 233 |
<!-- info icon --> |
| 234 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="30" height="30"> |
| 235 |
<!-- Outer circle --> |
| 236 |
<circle cx="100" cy="100" r="80" fill="none" stroke="rgb(107, 114, 128, 0.8)" stroke-width="16" stroke-linecap="round"/> |
| 237 |
<!-- Dot on top of the "i" --> |
| 238 |
<circle cx="100" cy="65" r="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 239 |
<!-- Vertical line of the "i" --> |
| 240 |
<rect x="88" y="90" width="24" height="55" rx="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 241 |
</svg> |
| 242 |
</summary> |
| 243 |
|
| 244 |
<!-- popup panel --> |
| 245 |
<div class="group-open:block hidden absolute right-0 mt-2 w-64 rounded-xl border border-gray-200 bg-white p-3 text-sm shadow-lg z-10"> |
| 246 |
<div class="font-medium mb-1">clients offline</div> |
| 247 |
<p class="text-gray-600 break-words"> |
| 248 |
The total number of persistent client sessions (with clean session disabled) that are registered at the broker but are currently disconnected. Topic: <code>$SYS/broker/clients/disconnected</code> |
| 249 |
</p> |
| 250 |
</div> |
| 251 |
</details> |
| 252 |
|
| 253 |
<div class="card-content"> |
| 254 |
<div class="metric-label">clients offline</div> |
| 255 |
<div class="metric-value" id="clients-disconnected">?</div> |
| 256 |
</div> |
| 257 |
</div> |
| 258 |
<div class="card relative"> |
| 259 |
<details class="group absolute top-2 right-2"> |
| 260 |
<summary |
| 261 |
class="flex h-8 w-8 items-center justify-center rounded-full border border-gray-300 bg-white/80 |
| 262 |
hover:bg-white focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer" |
| 263 |
aria-label="more info" |
| 264 |
> |
| 265 |
<!-- info icon --> |
| 266 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="30" height="30"> |
| 267 |
<!-- Outer circle --> |
| 268 |
<circle cx="100" cy="100" r="80" fill="none" stroke="rgb(107, 114, 128, 0.8)" stroke-width="16" stroke-linecap="round"/> |
| 269 |
<!-- Dot on top of the "i" --> |
| 270 |
<circle cx="100" cy="65" r="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 271 |
<!-- Vertical line of the "i" --> |
| 272 |
<rect x="88" y="90" width="24" height="55" rx="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 273 |
</svg> |
| 274 |
</summary> |
| 275 |
|
| 276 |
<!-- popup panel --> |
| 277 |
<div class="group-open:block hidden absolute right-0 mt-2 w-64 rounded-xl border border-gray-200 bg-white p-3 text-sm shadow-lg z-10"> |
| 278 |
<div class="font-medium mb-1">max simultaneous clients</div> |
| 279 |
<p class="text-gray-600 break-words"> |
| 280 |
The maximum number of clients that have been connected to the broker at the same time. Topic: <code>$SYS/broker/clients/maximum</code> |
| 281 |
</p> |
| 282 |
</div> |
| 283 |
</details> |
| 284 |
|
| 285 |
<div class="card-content"> |
| 286 |
<div class="metric-label">max simultaneous clients</div> |
| 287 |
<div class="metric-value" id="clients-maximum">?</div> |
| 288 |
</div> |
| 289 |
</div> |
| 290 |
<div class="card relative"> |
| 291 |
<details class="group absolute top-2 right-2"> |
| 292 |
<summary |
| 293 |
class="flex h-8 w-8 items-center justify-center rounded-full border border-gray-300 bg-white/80 |
| 294 |
hover:bg-white focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer" |
| 295 |
aria-label="more info" |
| 296 |
> |
| 297 |
<!-- info icon --> |
| 298 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="30" height="30"> |
| 299 |
<!-- Outer circle --> |
| 300 |
<circle cx="100" cy="100" r="80" fill="none" stroke="rgb(107, 114, 128, 0.8)" stroke-width="16" stroke-linecap="round"/> |
| 301 |
<!-- Dot on top of the "i" --> |
| 302 |
<circle cx="100" cy="65" r="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 303 |
<!-- Vertical line of the "i" --> |
| 304 |
<rect x="88" y="90" width="24" height="55" rx="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 305 |
</svg> |
| 306 |
</summary> |
| 307 |
|
| 308 |
<!-- popup panel --> |
| 309 |
<div class="group-open:block hidden absolute right-0 mt-2 w-64 rounded-xl border border-gray-200 bg-white p-3 text-sm shadow-lg z-10"> |
| 310 |
<div class="font-medium mb-1">socket connections</div> |
| 311 |
<p class="text-gray-600 break-words"> |
| 312 |
Number of open socket connections on the broker. Topic: <code>$SYS/broker/connections/socket/count</code> |
| 313 |
</p> |
| 314 |
</div> |
| 315 |
</details> |
| 316 |
|
| 317 |
<div class="card-content"> |
| 318 |
<div class="metric-label">connection sockets</div> |
| 319 |
<div class="metric-value" id="connection-sockets">?</div> |
| 320 |
</div> |
| 321 |
</div> |
| 322 |
<div class="card relative"> |
| 323 |
<details class="group absolute top-2 right-2"> |
| 324 |
<summary |
| 325 |
class="flex h-8 w-8 items-center justify-center rounded-full border border-gray-300 bg-white/80 |
| 326 |
hover:bg-white focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer" |
| 327 |
aria-label="more info" |
| 328 |
> |
| 329 |
<!-- info icon --> |
| 330 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="30" height="30"> |
| 331 |
<!-- Outer circle --> |
| 332 |
<circle cx="100" cy="100" r="80" fill="none" stroke="rgb(107, 114, 128, 0.8)" stroke-width="16" stroke-linecap="round"/> |
| 333 |
<!-- Dot on top of the "i" --> |
| 334 |
<circle cx="100" cy="65" r="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 335 |
<!-- Vertical line of the "i" --> |
| 336 |
<rect x="88" y="90" width="24" height="55" rx="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 337 |
</svg> |
| 338 |
</summary> |
| 339 |
|
| 340 |
<!-- popup panel --> |
| 341 |
<div class="group-open:block hidden absolute right-0 mt-2 w-64 rounded-xl border border-gray-200 bg-white p-3 text-sm shadow-lg z-10"> |
| 342 |
<div class="font-medium mb-1">total subscriptions</div> |
| 343 |
<p class="text-gray-600 break-words"> |
| 344 |
The total number of subscriptions active on the broker. Topic: <code>$SYS/broker/subscriptions/count</code> |
| 345 |
</p> |
| 346 |
</div> |
| 347 |
</details> |
| 348 |
|
| 349 |
<div class="card-content"> |
| 350 |
<div class="metric-label">total subscriptions</div> |
| 351 |
<div class="metric-value" id="total-subscriptions">?</div> |
| 352 |
</div> |
| 353 |
</div> |
| 354 |
<div class="card relative"> |
| 355 |
<details class="group absolute top-2 right-2"> |
| 356 |
<summary |
| 357 |
class="flex h-8 w-8 items-center justify-center rounded-full border border-gray-300 bg-white/80 |
| 358 |
hover:bg-white focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer" |
| 359 |
aria-label="more info" |
| 360 |
> |
| 361 |
<!-- info icon --> |
| 362 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="30" height="30"> |
| 363 |
<!-- Outer circle --> |
| 364 |
<circle cx="100" cy="100" r="80" fill="none" stroke="rgb(107, 114, 128, 0.8)" stroke-width="16" stroke-linecap="round"/> |
| 365 |
<!-- Dot on top of the "i" --> |
| 366 |
<circle cx="100" cy="65" r="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 367 |
<!-- Vertical line of the "i" --> |
| 368 |
<rect x="88" y="90" width="24" height="55" rx="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 369 |
</svg> |
| 370 |
</summary> |
| 371 |
|
| 372 |
<!-- popup panel --> |
| 373 |
<div class="group-open:block hidden absolute right-0 mt-2 w-64 rounded-xl border border-gray-200 bg-white p-3 text-sm shadow-lg z-10"> |
| 374 |
<div class="font-medium mb-1">messages published to the broker</div> |
| 375 |
<p class="text-gray-600 break-words"> |
| 376 |
The total number of PUBLISH messages received since the broker started. Topic: <code>$SYS/broker/publish/messages/received</code> |
| 377 |
</p> |
| 378 |
</div> |
| 379 |
</details> |
| 380 |
|
| 381 |
<div class="card-content"> |
| 382 |
<div class="metric-label">messages published to the broker</div> |
| 383 |
<div class="metric-value" id="messages-published-to-broker">?</div> |
| 384 |
</div> |
| 385 |
</div> |
| 386 |
<div class="card relative"> |
| 387 |
<details class="group absolute top-2 right-2"> |
| 388 |
<summary |
| 389 |
class="flex h-8 w-8 items-center justify-center rounded-full border border-gray-300 bg-white/80 |
| 390 |
hover:bg-white focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer" |
| 391 |
aria-label="more info" |
| 392 |
> |
| 393 |
<!-- info icon --> |
| 394 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="30" height="30"> |
| 395 |
<!-- Outer circle --> |
| 396 |
<circle cx="100" cy="100" r="80" fill="none" stroke="rgb(107, 114, 128, 0.8)" stroke-width="16" stroke-linecap="round"/> |
| 397 |
<!-- Dot on top of the "i" --> |
| 398 |
<circle cx="100" cy="65" r="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 399 |
<!-- Vertical line of the "i" --> |
| 400 |
<rect x="88" y="90" width="24" height="55" rx="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 401 |
</svg> |
| 402 |
</summary> |
| 403 |
|
| 404 |
<!-- popup panel --> |
| 405 |
<div class="group-open:block hidden absolute right-0 mt-2 w-64 rounded-xl border border-gray-200 bg-white p-3 text-sm shadow-lg z-10"> |
| 406 |
<div class="font-medium mb-1">messages published by the broker</div> |
| 407 |
<p class="text-gray-600 break-words"> |
| 408 |
The total number of PUBLISH messages sent since the broker started. Topic: <code>$SYS/broker/publish/messages/sent</code> |
| 409 |
</p> |
| 410 |
</div> |
| 411 |
</details> |
| 412 |
|
| 413 |
<div class="card-content"> |
| 414 |
<div class="metric-label">messages published by the broker</div> |
| 415 |
<div class="metric-value" id="messages-published-by-broker">?</div> |
| 416 |
</div> |
| 417 |
</div> |
| 418 |
<div class="card relative"> |
| 419 |
<details class="group absolute top-2 right-2"> |
| 420 |
<summary |
| 421 |
class="flex h-8 w-8 items-center justify-center rounded-full border border-gray-300 bg-white/80 |
| 422 |
hover:bg-white focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer" |
| 423 |
aria-label="more info" |
| 424 |
> |
| 425 |
<!-- info icon --> |
| 426 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="30" height="30"> |
| 427 |
<!-- Outer circle --> |
| 428 |
<circle cx="100" cy="100" r="80" fill="none" stroke="rgb(107, 114, 128, 0.8)" stroke-width="16" stroke-linecap="round"/> |
| 429 |
<!-- Dot on top of the "i" --> |
| 430 |
<circle cx="100" cy="65" r="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 431 |
<!-- Vertical line of the "i" --> |
| 432 |
<rect x="88" y="90" width="24" height="55" rx="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 433 |
</svg> |
| 434 |
</summary> |
| 435 |
|
| 436 |
<!-- popup panel --> |
| 437 |
<div class="group-open:block hidden absolute right-0 mt-2 w-64 rounded-xl border border-gray-200 bg-white p-3 text-sm shadow-lg z-10"> |
| 438 |
<div class="font-medium mb-1">publishes dropped</div> |
| 439 |
<p class="text-gray-600 break-words"> |
| 440 |
The total number of publish messages that have been dropped due to inflight/queuing limits. See the <code>max_inflight_messages</code> and <code>max_queued_messages</code> options in mosquitto.conf for more information. Topic: <code>$SYS/broker/publish/messages/dropped</code> |
| 441 |
</p> |
| 442 |
</div> |
| 443 |
</details> |
| 444 |
|
| 445 |
<div class="card-content"> |
| 446 |
<div class="metric-label">publishes dropped</div> |
| 447 |
<div class="metric-value" id="messages-dropped">?</div> |
| 448 |
</div> |
| 449 |
</div> |
| 450 |
<div class="card relative"> |
| 451 |
<details class="group absolute top-2 right-2"> |
| 452 |
<summary |
| 453 |
class="flex h-8 w-8 items-center justify-center rounded-full border border-gray-300 bg-white/80 |
| 454 |
hover:bg-white focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer" |
| 455 |
aria-label="more info" |
| 456 |
> |
| 457 |
<!-- info icon --> |
| 458 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="30" height="30"> |
| 459 |
<!-- Outer circle --> |
| 460 |
<circle cx="100" cy="100" r="80" fill="none" stroke="rgb(107, 114, 128, 0.8)" stroke-width="16" stroke-linecap="round"/> |
| 461 |
<!-- Dot on top of the "i" --> |
| 462 |
<circle cx="100" cy="65" r="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 463 |
<!-- Vertical line of the "i" --> |
| 464 |
<rect x="88" y="90" width="24" height="55" rx="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 465 |
</svg> |
| 466 |
</summary> |
| 467 |
|
| 468 |
<!-- popup panel --> |
| 469 |
<div class="group-open:block hidden absolute right-0 mt-2 w-64 rounded-xl border border-gray-200 bg-white p-3 text-sm shadow-lg z-10"> |
| 470 |
<div class="font-medium mb-1">messages retained</div> |
| 471 |
<p class="text-gray-600 break-words"> |
| 472 |
The total number of retained messages active on the broker. Topic: <code>$SYS/broker/retained messages/count</code> |
| 473 |
</p> |
| 474 |
</div> |
| 475 |
</details> |
| 476 |
|
| 477 |
<div class="card-content"> |
| 478 |
<div class="metric-label">messages retained</div> |
| 479 |
<div class="metric-value" id="messages-retained">?</div> |
| 480 |
</div> |
| 481 |
</div> |
| 482 |
<div class="card relative"> |
| 483 |
<details class="group absolute top-2 right-2"> |
| 484 |
<summary |
| 485 |
class="flex h-8 w-8 items-center justify-center rounded-full border border-gray-300 bg-white/80 |
| 486 |
hover:bg-white focus:outline-none focus:ring-2 focus:ring-blue-500 cursor-pointer" |
| 487 |
aria-label="more info" |
| 488 |
> |
| 489 |
<!-- info icon --> |
| 490 |
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 200 200" width="30" height="30"> |
| 491 |
<!-- Outer circle --> |
| 492 |
<circle cx="100" cy="100" r="80" fill="none" stroke="rgb(107, 114, 128, 0.8)" stroke-width="16" stroke-linecap="round"/> |
| 493 |
<!-- Dot on top of the "i" --> |
| 494 |
<circle cx="100" cy="65" r="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 495 |
<!-- Vertical line of the "i" --> |
| 496 |
<rect x="88" y="90" width="24" height="55" rx="12" fill="rgb(107, 114, 128, 0.8)"/> |
| 497 |
</svg> |
| 498 |
</summary> |
| 499 |
|
| 500 |
<!-- popup panel --> |
| 501 |
<div class="group-open:block hidden absolute right-0 mt-2 w-64 rounded-xl border border-gray-200 bg-white p-3 text-sm shadow-lg z-10"> |
| 502 |
<div class="font-medium mb-1">messages stored</div> |
| 503 |
<p class="text-gray-600 break-words"> |
| 504 |
The number of messages currently held in the message store. This includes retained messages and messages queued for durable clients. Topic: <code>$SYS/broker/store/messages/count</code> |
| 505 |
</p> |
| 506 |
</div> |
| 507 |
</details> |
| 508 |
|
| 509 |
<div class="card-content"> |
| 510 |
<div class="metric-label">messages stored</div> |
| 511 |
<div class="metric-value" id="messages-stored">?</div> |
| 512 |
</div> |
| 513 |
</div> |
| 514 |
</div> |
| 515 |
|
| 516 |
<!-- chart data type (smoothed or raw data) and grid layout toggles --> |
| 517 |
<div class="mb-4 flex justify-end"> |
| 518 |
<button id="chart-data-type-global-toggle" class="mr-2 inline-flex items-center px-3 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50 transition-colors duration-200"> |
| 519 |
<!-- for when we are on raw data state --> |
| 520 |
<svg id="smooth-state-svg" class="h-4 w-4 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 521 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12c2-4 4-4 6 0s4 4 6 0 4-4 6 0"></path> |
| 522 |
</svg> |
| 523 |
<!-- for when we are on smoothed data state --> |
| 524 |
<svg id="raw-state-svg" class="h-4 w-4 mr-2 hidden" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 525 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 15l2-3 2 3 2-6 2 4 2-2 2 1 2-3 2 2 3-1"></path> |
| 526 |
</svg> |
| 527 |
<!-- default text: "Smoothed data" assumes we are on a raw data state, so we display the opposite state on a toggle --> |
| 528 |
<span id="chart-data-type-text">Show Smoothed Data</span> |
| 529 |
</button> |
| 530 |
<button id="layout-toggle" class="inline-flex items-center px-3 py-2 border border-gray-300 rounded-md text-sm font-medium text-gray-700 bg-white hover:bg-gray-50 transition-colors duration-200"> |
| 531 |
<svg class="h-4 w-4 mr-2" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 532 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z"></path> |
| 533 |
</svg> |
| 534 |
<span id="layout-text">Single Column</span> |
| 535 |
</button> |
| 536 |
</div> |
| 537 |
|
| 538 |
<!-- charts grid --> |
| 539 |
<div id="charts-grid" class="grid grid-cols-1 lg:grid-cols-2 gap-4"> |
| 540 |
<div id="banner-card" class="card"> |
| 541 |
<div id="banner-container" class="h-[335px] overflow-hidden flex"> |
| 542 |
<div id="banner-inner" class="h-full w-full flex items-center justify-center"> |
| 543 |
<a id="banner-link" href="https://mosquitto.org/banner/link" target="_blank" rel="noopener noreferrer"> |
| 544 |
<img id="banner-img" src="media/banner.svg" alt="banner"> |
| 545 |
</a> |
| 546 |
</div> |
| 547 |
</div> |
| 548 |
</div> |
| 549 |
|
| 550 |
<div class="card"> |
| 551 |
<div class="card-header"> |
| 552 |
<div class="metric-label">messages dropped</div> |
| 553 |
</div> |
| 554 |
<div class="card-content"> |
| 555 |
<div class="chart-container"> |
| 556 |
<canvas id="chart-messages-dropped"></canvas> |
| 557 |
</div> |
| 558 |
</div> |
| 559 |
|
| 560 |
<!-- chart navigation --> |
| 561 |
<div class="flex items-center justify-start"> |
| 562 |
<div class="inline-flex items-center bg-gray-50 rounded-lg p-1 border border-gray-200"> |
| 563 |
<!-- zoom controls --> |
| 564 |
<button class="nav-btn" data-chart="chart-messages-dropped" data-action="zoom-in" title="Zoom In"> |
| 565 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 566 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7"/> |
| 567 |
</svg> |
| 568 |
</button> |
| 569 |
<button class="nav-btn" data-chart="chart-messages-dropped" data-action="zoom-out" title="Zoom Out"> |
| 570 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 571 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM13 10H7"/> |
| 572 |
</svg> |
| 573 |
</button> |
| 574 |
|
| 575 |
<div class="nav-separator"></div> |
| 576 |
|
| 577 |
<!-- pan controls --> |
| 578 |
<button class="nav-btn" data-chart="chart-messages-dropped" data-action="pan-left" title="Pan Left"> |
| 579 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 580 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/> |
| 581 |
</svg> |
| 582 |
</button> |
| 583 |
<button class="nav-btn" data-chart="chart-messages-dropped" data-action="pan-right" title="Pan Right"> |
| 584 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 585 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/> |
| 586 |
</svg> |
| 587 |
</button> |
| 588 |
|
| 589 |
<div class="nav-separator"></div> |
| 590 |
|
| 591 |
<!-- reset --> |
| 592 |
<button class="nav-btn" data-chart="chart-messages-dropped" data-action="reset" title="Reset View"> |
| 593 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 594 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/> |
| 595 |
</svg> |
| 596 |
</button> |
| 597 |
</div> |
| 598 |
</div> |
| 599 |
</div> |
| 600 |
|
| 601 |
<!-- mqtt clients charts --> |
| 602 |
<div class="card"> |
| 603 |
<div class="card-header"> |
| 604 |
<div class="metric-label">online clients</div> |
| 605 |
</div> |
| 606 |
<div class="card-content"> |
| 607 |
<div class="chart-container"> |
| 608 |
<canvas id="chart-clients-connected"></canvas> |
| 609 |
</div> |
| 610 |
</div> |
| 611 |
|
| 612 |
<!-- chart navigation --> |
| 613 |
<div class="flex items-center justify-start"> |
| 614 |
<div class="inline-flex items-center bg-gray-50 rounded-lg p-1 border border-gray-200"> |
| 615 |
<!-- zoom controls --> |
| 616 |
<button class="nav-btn" data-chart="chart-clients-connected" data-action="zoom-in" title="Zoom In"> |
| 617 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 618 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7"/> |
| 619 |
</svg> |
| 620 |
</button> |
| 621 |
<button class="nav-btn" data-chart="chart-clients-connected" data-action="zoom-out" title="Zoom Out"> |
| 622 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 623 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM13 10H7"/> |
| 624 |
</svg> |
| 625 |
</button> |
| 626 |
|
| 627 |
<div class="nav-separator"></div> |
| 628 |
|
| 629 |
<!-- pan controls --> |
| 630 |
<button class="nav-btn" data-chart="chart-clients-connected" data-action="pan-left" title="Pan Left"> |
| 631 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 632 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/> |
| 633 |
</svg> |
| 634 |
</button> |
| 635 |
<button class="nav-btn" data-chart="chart-clients-connected" data-action="pan-right" title="Pan Right"> |
| 636 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 637 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/> |
| 638 |
</svg> |
| 639 |
</button> |
| 640 |
|
| 641 |
<div class="nav-separator"></div> |
| 642 |
|
| 643 |
<!-- reset --> |
| 644 |
<button class="nav-btn" data-chart="chart-clients-connected" data-action="reset" title="Reset View"> |
| 645 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 646 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/> |
| 647 |
</svg> |
| 648 |
</button> |
| 649 |
</div> |
| 650 |
</div> |
| 651 |
</div> |
| 652 |
|
| 653 |
<div class="card"> |
| 654 |
<div class="card-header"> |
| 655 |
<div class="metric-label">offline clients</div> |
| 656 |
</div> |
| 657 |
<div class="card-content"> |
| 658 |
<div class="chart-container"> |
| 659 |
<canvas id="chart-clients-disconnected"></canvas> |
| 660 |
</div> |
| 661 |
</div> |
| 662 |
|
| 663 |
<!-- chart navigation --> |
| 664 |
<div class="flex items-center justify-start"> |
| 665 |
<div class="inline-flex items-center bg-gray-50 rounded-lg p-1 border border-gray-200"> |
| 666 |
<!-- zoom controls --> |
| 667 |
<button class="nav-btn" data-chart="chart-clients-disconnected" data-action="zoom-in" title="Zoom In"> |
| 668 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 669 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7"/> |
| 670 |
</svg> |
| 671 |
</button> |
| 672 |
<button class="nav-btn" data-chart="chart-clients-disconnected" data-action="zoom-out" title="Zoom Out"> |
| 673 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 674 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM13 10H7"/> |
| 675 |
</svg> |
| 676 |
</button> |
| 677 |
|
| 678 |
<div class="nav-separator"></div> |
| 679 |
|
| 680 |
<!-- pan controls --> |
| 681 |
<button class="nav-btn" data-chart="chart-clients-disconnected" data-action="pan-left" title="Pan Left"> |
| 682 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 683 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/> |
| 684 |
</svg> |
| 685 |
</button> |
| 686 |
<button class="nav-btn" data-chart="chart-clients-disconnected" data-action="pan-right" title="Pan Right"> |
| 687 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 688 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/> |
| 689 |
</svg> |
| 690 |
</button> |
| 691 |
|
| 692 |
<div class="nav-separator"></div> |
| 693 |
|
| 694 |
<!-- reset --> |
| 695 |
<button class="nav-btn" data-chart="chart-clients-disconnected" data-action="reset" title="Reset View"> |
| 696 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 697 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/> |
| 698 |
</svg> |
| 699 |
</button> |
| 700 |
</div> |
| 701 |
</div> |
| 702 |
</div> |
| 703 |
|
| 704 |
<div class="card"> |
| 705 |
<div class="card-header"> |
| 706 |
<div class="metric-label">messages sent</div> |
| 707 |
</div> |
| 708 |
<div class="card-content"> |
| 709 |
<div class="chart-container"> |
| 710 |
<canvas id="chart-messages-sent"></canvas> |
| 711 |
</div> |
| 712 |
</div> |
| 713 |
|
| 714 |
<!-- chart navigation --> |
| 715 |
<div class="flex items-center justify-start"> |
| 716 |
<div class="inline-flex items-center bg-gray-50 rounded-lg p-1 border border-gray-200"> |
| 717 |
<!-- zoom controls --> |
| 718 |
<button class="nav-btn" data-chart="chart-messages-sent" data-action="zoom-in" title="Zoom In"> |
| 719 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 720 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7"/> |
| 721 |
</svg> |
| 722 |
</button> |
| 723 |
<button class="nav-btn" data-chart="chart-messages-sent" data-action="zoom-out" title="Zoom Out"> |
| 724 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 725 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM13 10H7"/> |
| 726 |
</svg> |
| 727 |
</button> |
| 728 |
|
| 729 |
<div class="nav-separator"></div> |
| 730 |
|
| 731 |
<!-- pan controls --> |
| 732 |
<button class="nav-btn" data-chart="chart-messages-sent" data-action="pan-left" title="Pan Left"> |
| 733 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 734 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/> |
| 735 |
</svg> |
| 736 |
</button> |
| 737 |
<button class="nav-btn" data-chart="chart-messages-sent" data-action="pan-right" title="Pan Right"> |
| 738 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 739 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/> |
| 740 |
</svg> |
| 741 |
</button> |
| 742 |
|
| 743 |
<div class="nav-separator"></div> |
| 744 |
|
| 745 |
<!-- reset --> |
| 746 |
<button class="nav-btn" data-chart="chart-messages-sent" data-action="reset" title="Reset View"> |
| 747 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 748 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/> |
| 749 |
</svg> |
| 750 |
</button> |
| 751 |
</div> |
| 752 |
</div> |
| 753 |
</div> |
| 754 |
|
| 755 |
<div class="card"> |
| 756 |
<div class="card-header"> |
| 757 |
<div class="metric-label">messages received</div> |
| 758 |
</div> |
| 759 |
<div class="card-content"> |
| 760 |
<div class="chart-container"> |
| 761 |
<canvas id="chart-messages-received"></canvas> |
| 762 |
</div> |
| 763 |
</div> |
| 764 |
|
| 765 |
<!-- chart navigation --> |
| 766 |
<div class="flex items-center justify-start"> |
| 767 |
<div class="inline-flex items-center bg-gray-50 rounded-lg p-1 border border-gray-200"> |
| 768 |
<!-- zoom controls --> |
| 769 |
<button class="nav-btn" data-chart="chart-messages-received" data-action="zoom-in" title="Zoom In"> |
| 770 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 771 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7"/> |
| 772 |
</svg> |
| 773 |
</button> |
| 774 |
<button class="nav-btn" data-chart="chart-messages-received" data-action="zoom-out" title="Zoom Out"> |
| 775 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 776 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM13 10H7"/> |
| 777 |
</svg> |
| 778 |
</button> |
| 779 |
|
| 780 |
<div class="nav-separator"></div> |
| 781 |
|
| 782 |
<!-- pan controls --> |
| 783 |
<button class="nav-btn" data-chart="chart-messages-received" data-action="pan-left" title="Pan Left"> |
| 784 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 785 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/> |
| 786 |
</svg> |
| 787 |
</button> |
| 788 |
<button class="nav-btn" data-chart="chart-messages-received" data-action="pan-right" title="Pan Right"> |
| 789 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 790 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/> |
| 791 |
</svg> |
| 792 |
</button> |
| 793 |
|
| 794 |
<div class="nav-separator"></div> |
| 795 |
|
| 796 |
<!-- reset --> |
| 797 |
<button class="nav-btn" data-chart="chart-messages-received" data-action="reset" title="Reset View"> |
| 798 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 799 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/> |
| 800 |
</svg> |
| 801 |
</button> |
| 802 |
</div> |
| 803 |
</div> |
| 804 |
</div> |
| 805 |
|
| 806 |
<div class="card"> |
| 807 |
<div class="card-header"> |
| 808 |
<div class="metric-label">messages sent per minute</div> |
| 809 |
</div> |
| 810 |
<div class="card-content"> |
| 811 |
<div class="chart-container"> |
| 812 |
<canvas id="chart-messages-sent-rate"></canvas> |
| 813 |
</div> |
| 814 |
</div> |
| 815 |
|
| 816 |
<!-- chart navigation --> |
| 817 |
<div class="flex items-center justify-start"> |
| 818 |
<div class="inline-flex items-center bg-gray-50 rounded-lg p-1 border border-gray-200"> |
| 819 |
<!-- zoom controls --> |
| 820 |
<button class="nav-btn" data-chart="chart-messages-sent-rate" data-action="zoom-in" title="Zoom In"> |
| 821 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 822 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7"/> |
| 823 |
</svg> |
| 824 |
</button> |
| 825 |
<button class="nav-btn" data-chart="chart-messages-sent-rate" data-action="zoom-out" title="Zoom Out"> |
| 826 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 827 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM13 10H7"/> |
| 828 |
</svg> |
| 829 |
</button> |
| 830 |
|
| 831 |
<div class="nav-separator"></div> |
| 832 |
|
| 833 |
<!-- pan controls --> |
| 834 |
<button class="nav-btn" data-chart="chart-messages-sent-rate" data-action="pan-left" title="Pan Left"> |
| 835 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 836 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/> |
| 837 |
</svg> |
| 838 |
</button> |
| 839 |
<button class="nav-btn" data-chart="chart-messages-sent-rate" data-action="pan-right" title="Pan Right"> |
| 840 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 841 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/> |
| 842 |
</svg> |
| 843 |
</button> |
| 844 |
|
| 845 |
<div class="nav-separator"></div> |
| 846 |
|
| 847 |
<!-- reset --> |
| 848 |
<button class="nav-btn" data-chart="chart-messages-sent-rate" data-action="reset" title="Reset View"> |
| 849 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 850 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/> |
| 851 |
</svg> |
| 852 |
</button> |
| 853 |
</div> |
| 854 |
</div> |
| 855 |
</div> |
| 856 |
|
| 857 |
<div class="card"> |
| 858 |
<div class="card-header"> |
| 859 |
<div class="metric-label">messages received per minute</div> |
| 860 |
</div> |
| 861 |
<div class="card-content"> |
| 862 |
<div class="chart-container"> |
| 863 |
<canvas id="chart-messages-received-rate"></canvas> |
| 864 |
</div> |
| 865 |
</div> |
| 866 |
|
| 867 |
<!-- chart navigation --> |
| 868 |
<div class="flex items-center justify-start"> |
| 869 |
<div class="inline-flex items-center bg-gray-50 rounded-lg p-1 border border-gray-200"> |
| 870 |
<!-- zoom controls --> |
| 871 |
<button class="nav-btn" data-chart="chart-messages-received-rate" data-action="zoom-in" title="Zoom In"> |
| 872 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 873 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7"/> |
| 874 |
</svg> |
| 875 |
</button> |
| 876 |
<button class="nav-btn" data-chart="chart-messages-received-rate" data-action="zoom-out" title="Zoom Out"> |
| 877 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 878 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM13 10H7"/> |
| 879 |
</svg> |
| 880 |
</button> |
| 881 |
|
| 882 |
<div class="nav-separator"></div> |
| 883 |
|
| 884 |
<!-- pan controls --> |
| 885 |
<button class="nav-btn" data-chart="chart-messages-received-rate" data-action="pan-left" title="Pan Left"> |
| 886 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 887 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/> |
| 888 |
</svg> |
| 889 |
</button> |
| 890 |
<button class="nav-btn" data-chart="chart-messages-received-rate" data-action="pan-right" title="Pan Right"> |
| 891 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 892 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/> |
| 893 |
</svg> |
| 894 |
</button> |
| 895 |
|
| 896 |
<div class="nav-separator"></div> |
| 897 |
|
| 898 |
<!-- reset --> |
| 899 |
<button class="nav-btn" data-chart="chart-messages-received-rate" data-action="reset" title="Reset View"> |
| 900 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 901 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/> |
| 902 |
</svg> |
| 903 |
</button> |
| 904 |
</div> |
| 905 |
</div> |
| 906 |
</div> |
| 907 |
|
| 908 |
</div> |
| 909 |
|
| 910 |
<!-- total messages overview chart --> |
| 911 |
<div class="card"> |
| 912 |
<div class="card-header"> |
| 913 |
<h3 class="text-base font-semibold">Published vs Received Messages Total</h3> |
| 914 |
</div> |
| 915 |
<div class="card-content"> |
| 916 |
<div style="position: relative; height: 300px;"> |
| 917 |
<canvas id="chart-message-overview"></canvas> |
| 918 |
</div> |
| 919 |
</div> |
| 920 |
|
| 921 |
<!-- chart navigation --> |
| 922 |
<div class="flex items-center justify-start"> |
| 923 |
<div class="inline-flex items-center bg-gray-50 rounded-lg p-1 border border-gray-200"> |
| 924 |
<!-- zoom controls --> |
| 925 |
<button class="nav-btn" data-chart="chart-message-overview" data-action="zoom-in" title="Zoom In"> |
| 926 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 927 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7"/> |
| 928 |
</svg> |
| 929 |
</button> |
| 930 |
<button class="nav-btn" data-chart="chart-message-overview" data-action="zoom-out" title="Zoom Out"> |
| 931 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 932 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM13 10H7"/> |
| 933 |
</svg> |
| 934 |
</button> |
| 935 |
|
| 936 |
<div class="nav-separator"></div> |
| 937 |
|
| 938 |
<!-- pan controls --> |
| 939 |
<button class="nav-btn" data-chart="chart-message-overview" data-action="pan-left" title="Pan Left"> |
| 940 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 941 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/> |
| 942 |
</svg> |
| 943 |
</button> |
| 944 |
<button class="nav-btn" data-chart="chart-message-overview" data-action="pan-right" title="Pan Right"> |
| 945 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 946 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/> |
| 947 |
</svg> |
| 948 |
</button> |
| 949 |
|
| 950 |
<div class="nav-separator"></div> |
| 951 |
|
| 952 |
<!-- reset --> |
| 953 |
<button class="nav-btn" data-chart="chart-message-overview" data-action="reset" title="Reset View"> |
| 954 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 955 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/> |
| 956 |
</svg> |
| 957 |
</button> |
| 958 |
</div> |
| 959 |
</div> |
| 960 |
</div> |
| 961 |
|
| 962 |
<!-- message rate overview chart --> |
| 963 |
<div class="card"> |
| 964 |
<div class="card-header"> |
| 965 |
<h3 class="text-base font-semibold">Publish vs Received Messages Rates</h3> |
| 966 |
</div> |
| 967 |
<div class="card-content"> |
| 968 |
<div style="position: relative; height: 300px;"> |
| 969 |
<canvas id="chart-message-rate-overview"></canvas> |
| 970 |
</div> |
| 971 |
</div> |
| 972 |
|
| 973 |
<!-- chart navigation --> |
| 974 |
<div class="flex items-center justify-start"> |
| 975 |
<div class="inline-flex items-center bg-gray-50 rounded-lg p-1 border border-gray-200"> |
| 976 |
<!-- zoom controls --> |
| 977 |
<button class="nav-btn" data-chart="chart-message-rate-overview" data-action="zoom-in" title="Zoom In"> |
| 978 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 979 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM10 7v3m0 0v3m0-3h3m-3 0H7"/> |
| 980 |
</svg> |
| 981 |
</button> |
| 982 |
<button class="nav-btn" data-chart="chart-message-rate-overview" data-action="zoom-out" title="Zoom Out"> |
| 983 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 984 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0zM13 10H7"/> |
| 985 |
</svg> |
| 986 |
</button> |
| 987 |
|
| 988 |
<div class="nav-separator"></div> |
| 989 |
|
| 990 |
<!-- pan controls --> |
| 991 |
<button class="nav-btn" data-chart="chart-message-rate-overview" data-action="pan-left" title="Pan Left"> |
| 992 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 993 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"/> |
| 994 |
</svg> |
| 995 |
</button> |
| 996 |
<button class="nav-btn" data-chart="chart-message-rate-overview" data-action="pan-right" title="Pan Right"> |
| 997 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 998 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/> |
| 999 |
</svg> |
| 1000 |
</button> |
| 1001 |
|
| 1002 |
<div class="nav-separator"></div> |
| 1003 |
|
| 1004 |
<!-- reset --> |
| 1005 |
<button class="nav-btn" data-chart="chart-message-rate-overview" data-action="reset" title="Reset View"> |
| 1006 |
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24"> |
| 1007 |
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/> |
| 1008 |
</svg> |
| 1009 |
</button> |
| 1010 |
</div> |
| 1011 |
</div> |
| 1012 |
</div> |
| 1013 |
|
| 1014 |
<!-- system metrics --> |
| 1015 |
<div class="grid grid-cols-1 md:grid-cols-2 gap-6"> |
| 1016 |
|
| 1017 |
<div class="card"> |
| 1018 |
<div class="card-header"> |
| 1019 |
<h3 class="text-base font-semibold">System Metrics</h3> |
| 1020 |
</div> |
| 1021 |
<div class="card-content overflow-x-auto"> |
| 1022 |
<div class="inline-block min-w-max space-y-1 text-sm font-mono text-gray-700 whitespace-nowrap" id="system-metrics"> |
| 1023 |
<div>$SYS/broker/clients/total <span id="systopic-clients-total">?</span></div> |
| 1024 |
<div>$SYS/broker/clients/disconnected <span id="systopic-clients-disconnected">?</span></div> |
| 1025 |
<div>$SYS/broker/clients/connected <span id="systopic-clients-connected">?</span></div> |
| 1026 |
<div>$SYS/broker/clients/maximum <span id="systopic-clients-max">?</span></div> |
| 1027 |
<div>$SYS/broker/clients/expired <span id="systopic-clients-expired">?</span></div> |
| 1028 |
<div>$SYS/broker/subscriptions/count <span id="systopic-total-subscriptions">?</span></div> |
| 1029 |
<div>$SYS/broker/shared_subscriptions/count <span id="systopic-total-shared-subscriptions">?</span></div> |
| 1030 |
<div>$SYS/broker/heap/current <span id="systopic-heap-current">?</span></div> |
| 1031 |
<div>$SYS/broker/heap/maximum <span id="systopic-heap-max">?</span></div> |
| 1032 |
<div>$SYS/broker/connections/socket/count <span id="systopic-connection-sockets">?</span></div> |
| 1033 |
</div> |
| 1034 |
</div> |
| 1035 |
</div> |
| 1036 |
|
| 1037 |
<div class="card"> |
| 1038 |
<div class="card-header"> |
| 1039 |
<h3 class="text-base font-semibold">Traffic Metrics</h3> |
| 1040 |
</div> |
| 1041 |
<div class="card-content overflow-x-auto"> |
| 1042 |
<div class="inline-block min-w-max space-y-1 text-sm font-mono text-gray-700 whitespace-nowrap pr-6" id="message-metrics"> |
| 1043 |
<div>$SYS/broker/load/messages/received/1min <span id="systopic-messages-received-1min">?</span></div> |
| 1044 |
<div>$SYS/broker/load/messages/received/10min <span id="systopic-messages-received-10min">?</span></div> |
| 1045 |
<div>$SYS/broker/load/messages/received/15min <span id="systopic-messages-received-15min">?</span></div> |
| 1046 |
<div>$SYS/broker/load/messages/sent/1min <span id="systopic-messages-sent-1min">?</span></div> |
| 1047 |
<div>$SYS/broker/load/messages/sent/10min <span id="systopic-messages-sent-10min">?</span></div> |
| 1048 |
<div>$SYS/broker/load/messages/sent/15min <span id="systopic-messages-sent-15min">?</span></div> |
| 1049 |
<div>$SYS/broker/messages/stored <span id="systopic-messages-stored">?</span></div> |
| 1050 |
<div>$SYS/broker/retained messages/count <span id="systopic-messages-retained">?</span></div> |
| 1051 |
<div>$SYS/broker/messages/received <span id="systopic-messages-received">?</span></div> |
| 1052 |
<div>$SYS/broker/messages/sent <span id="systopic-messages-sent">?</span></div> |
| 1053 |
<div>$SYS/broker/store/messages/bytes <span id="systopic-messages-stored-bytes">?</span></div> |
| 1054 |
<div>$SYS/broker/bytes/received <span id="systopic-received-bytes">?</span></div> |
| 1055 |
<div>$SYS/broker/bytes/sent <span id="systopic-sent-bytes">?</span></div> |
| 1056 |
<div>$SYS/broker/publish/bytes/received <span id="systopic-publish-received-bytes">?</span></div> |
| 1057 |
<div>$SYS/broker/publish/bytes/sent <span id="systopic-publish-sent-bytes">?</span></div> |
| 1058 |
<div>$SYS/broker/publish/messages/dropped <span id="systopic-messages-dropped">?</span></div> |
| 1059 |
<div>$SYS/broker/publish/messages/received <span id="systopic-messages-published-to-broker">?</span></div> |
| 1060 |
<div>$SYS/broker/publish/messages/sent <span id="systopic-messages-published-by-broker">?</span></div> |
| 1061 |
<div>$SYS/broker/packet/out/count <span id="systopic-out-packets">?</span></div> |
| 1062 |
<div>$SYS/broker/packet/out/bytes <span id="systopic-out-bytes">?</span></div> |
| 1063 |
</div> |
| 1064 |
</div> |
| 1065 |
</div> |
| 1066 |
</div> |
| 1067 |
|
| 1068 |
<div class="flex md:justify-end justify-center"> |
| 1069 |
<p class="text-center text-sm text-gray-500"> |
| 1070 |
<a href="https://mosquitto.org/man/mosquitto-8.html#:~:text=not%20require%20authentication.-,Broker%20Status,-Clients%20can%20find" target="_blank" rel="noopener noreferrer" class="text-blue-700 hover:text-blue-900 hover:underline"> |
| 1071 |
Learn more about system topics |
| 1072 |
</a> |
| 1073 |
</p> |
| 1074 |
</div> |
| 1075 |
|
| 1076 |
</div> |
| 1077 |
</div> |
| 1078 |
<!-- footer --> |
| 1079 |
<div class="mt-[5%] pt-6 pb-6 bg-gray-100"> |
| 1080 |
<div class="flex grid grid-cols-1 md:grid-cols-5 items-center justify-evenly gap-2 text-gray-500"> |
| 1081 |
<div class="flex items-center justify-center"> |
| 1082 |
<a href="https://github.com/eclipse-mosquitto/mosquitto" target="_blank" rel="noopener noreferrer">Github</a> |
| 1083 |
</div> |
| 1084 |
<div class="flex items-center justify-center"> |
| 1085 |
<a href="https://test.mosquitto.org/" target="_blank" rel="noopener noreferrer">Test Mosquitto Instance</a> |
| 1086 |
</div> |
| 1087 |
<div class="flex items-center justify-center"> |
| 1088 |
<a href="https://forum.cedalo.com/" target="_blank" rel="noopener noreferrer">Mosquitto Forum</a> |
| 1089 |
</div> |
| 1090 |
<div class="flex items-center justify-center"> |
| 1091 |
<a href="https://cedalo.com/link/mosquitto-pro-edition" target="_blank" rel="noopener noreferrer">Pro Edition for Eclipse Mosquittoâ„¢</a> |
| 1092 |
</div> |
| 1093 |
<div class="flex items-center justify-center md:justify-start"> |
| 1094 |
<a href="https://cedalo.com/link/company-behind-mosquitto" target="_blank" rel="noopener noreferrer">The company behind Mosquitto</a> |
| 1095 |
</div> |
| 1096 |
</div> |
| 1097 |
</div> |
| 1098 |
</div> |
| 1099 |
<script src="lib/hammer.min.js"></script> |
| 1100 |
<script src="lib/chart.umd.js"></script> |
| 1101 |
<script src="lib/chartjs-plugin-zoom.min.js"></script> |
| 1102 |
<script src="app/consts.js"></script> |
| 1103 |
<script src="app/sidebar.js"></script> |
| 1104 |
<script src="app/dashboard.js"></script> |
| 1105 |
<script src="app/index.js"></script> |
| 1106 |
<script src="utils/queue.js"></script> |
| 1107 |
<script src="utils/assert.js"></script> |
| 1108 |
<script src="utils/utils.js"></script> |
| 1109 |
</body> |
| 1110 |
</html> |