From: Michael Tremer Date: Wed, 1 Dec 2021 22:35:51 +0000 (+0000) Subject: graphs: Drop entropy graph X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=36e724a88d74b3ab232a1be60f469983c3bdde70;p=people%2Fms%2Fwestferry.git graphs: Drop entropy graph Signed-off-by: Michael Tremer --- diff --git a/src/westferry/handlers/analytics.py b/src/westferry/handlers/analytics.py index a4b307f..e496145 100644 --- a/src/westferry/handlers/analytics.py +++ b/src/westferry/handlers/analytics.py @@ -202,7 +202,6 @@ class AnalyticsSystemBaseHandler(AnalyticsBaseHandler): # Others s = m.add_menu(_("More")) - s.add_handler(AnalyticsSystemEntropyHandler) s.add_handler(AnalyticsSystemContextSwitchesHandler) s.add_handler(AnalyticsSystemInterruptsHandler) @@ -263,20 +262,6 @@ class AnalyticsSystemTemperaturesHandler(AnalyticsSystemBaseHandler): self.render_graphs(graphs) -class AnalyticsSystemEntropyHandler(AnalyticsSystemBaseHandler): - url = r"/analytics/system/entropy" - title = N_("Entropy") - - def get(self): - _ = self.locale.translate - - graphs = [ - ui.graphs.Graph(self, "entropy"), - ] - - self.render_graphs(graphs) - - class AnalyticsSystemContextSwitchesHandler(AnalyticsSystemBaseHandler): url = r"/analytics/system/context-switches" title = N_("Context Switches")