@cryptotaxi247 / netdata-1 / commits / 20a6c9ce9

cpufreq, cpuidle modules chart context fix

lgz committed Nov 5, 2017 at 23:00 UTC 20a6c9ce9c0d5aa32a6b8e0d9c553f66dbbd3643
2 files changed +2 -2
python.d/cpufreq.chart.py
+1 -1
@@ -14,7 +14,7 @@ ORDER = ['cpufreq']
14
15 CHARTS = {
16 'cpufreq': {
17 - 'options': [None, 'CPU Clock', 'MHz', 'cpufreq', 'cpufreq', 'line'],
17 + 'options': [None, 'CPU Clock', 'MHz', 'cpufreq', 'cpufreq.cpufreq', 'line'],
18 'lines': [
19 # lines are created dynamically in `check()` method
20 ]}
python.d/cpuidle.chart.py
+1 -1
@@ -122,7 +122,7 @@ class Service(SimpleService):
122 self.order.append(orderid)
123 active_name = '%s_active_time' % (cpu,)
124 self.definitions[orderid] = {
125 - 'options': [None, 'C-state residency', 'time%', 'cpuidle', 'cpuidle', 'stacked'],
125 + 'options': [None, 'C-state residency', 'time%', 'cpuidle', 'cpuidle.cpuidle', 'stacked'],
126 'lines': [
127 [active_name, 'C0 (active)', 'percentage-of-incremental-row', 1, 1],
128 ],