Skip to content

Commit

Permalink
Web Dashboard: added a page for displaying Czar counters
Browse files Browse the repository at this point in the history
  • Loading branch information
iagaponenko committed Sep 21, 2023
1 parent 25e8a97 commit 37198d9
Show file tree
Hide file tree
Showing 5 changed files with 442 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/www/dashboard.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<title>Qserv monitoring dashboard</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script data-main="qserv/js/QservMonitoringDashboard.js?bust=68" src="https://requirejs.org/docs/release/2.3.6/minified/require.js"></script>
<script data-main="qserv/js/QservMonitoringDashboard.js?bust=69" src="https://requirejs.org/docs/release/2.3.6/minified/require.js"></script>
</head>
<body></body>
</html>
30 changes: 30 additions & 0 deletions src/www/qserv/css/QservCzarStatistics.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#fwk-qserv-czar-stats-controls label {
font-weight: bold;
}
table#fwk-qserv-czar-stats-status {
margin:0;
}
table.fwk-qserv-czar-stats caption {
caption-side: top;
text-align: right;
padding-top: 0;
}
table.fwk-qserv-czar-stats caption.updating {
background-color: #ffeeba;
}
table.fwk-qserv-czar-stats > thead > tr > th.sticky {
position:sticky;
top:80px;
z-index:2;
}
table.fwk-qserv-czar-stats tbody th,
table.fwk-qserv-czar-stats tbody td {
vertical-align:middle;
}
table.fwk-qserv-czar-stats pre {
padding: 0;
margin: 0;
}
table.fwk-qserv-czar-stats pre.perf {
color: maroon;
}
2 changes: 1 addition & 1 deletion src/www/qserv/js/Common.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function(sqlFormatter,
_) {

class Common {
static RestAPIVersion = 24;
static RestAPIVersion = 25;
static query2text(query, expanded) {
if (expanded) {
return sqlFormatter.format(query, Common._sqlFormatterConfig);
Expand Down
Loading

0 comments on commit 37198d9

Please sign in to comment.