feat: connect alpine logs and usage to admin api

This commit is contained in:
a.tolmachev
2026-03-30 01:49:32 +03:00
parent 40ef8d9cf8
commit e4d2f6adc9
7 changed files with 609 additions and 660 deletions
+1
View File
@@ -13,6 +13,7 @@
<script>try{if(!localStorage.getItem('crank_user'))window.location.replace('login.html');}catch(e){}</script>
<script src="js/config.js"></script>
<script src="js/i18n.js"></script>
<script src="js/api.js"></script>
<script src="js/workspace.js"></script>
</head>
<body>
+2 -1
View File
@@ -13,6 +13,7 @@
<script>try{if(!localStorage.getItem('crank_user'))window.location.replace('login.html');}catch(e){}</script>
<script src="js/config.js"></script>
<script src="js/i18n.js"></script>
<script src="js/api.js"></script>
<script src="js/workspace.js"></script>
</head>
<body>
@@ -176,7 +177,7 @@
<th style="text-align:right;">Errors</th>
<th style="text-align:right;">Error rate</th>
<th>Latency (p50 / p95 / p99)</th>
<th style="text-align:right;">Quota</th>
<th style="text-align:right;">Traffic share</th>
</tr>
</thead>
<tbody id="usage-tbody">