web/assets/javascripts/dashboard-charts.js in sidekiq-7.1.6 vs web/assets/javascripts/dashboard-charts.js in sidekiq-7.2.0

- old
+ new

@@ -84,10 +84,11 @@ this.chart.update(); updateStatsSummary(this.stats.sidekiq); updateRedisStats(this.stats.redis); updateFooterUTCTime(this.stats.server_utc_time); + updateNumbers(); pulseBeacon(); this.stats = stats; } @@ -164,5 +165,18 @@ }, }, }; } } + + var rc = document.getElementById("realtime-chart") + if (rc != null) { + var rtc = new RealtimeChart(rc, JSON.parse(rc.textContent)) + rtc.registerLegend(document.getElementById("realtime-legend")) + window.realtimeChart = rtc + } + + var hc = document.getElementById("history-chart") + if (hc != null) { + var htc = new DashboardChart(hc, JSON.parse(hc.textContent)) + window.historyChart = htc + } \ No newline at end of file