Browse Source

cpufreq, cpuidle modules chart context fix

lgz 7 years ago
parent
commit
20a6c9ce9c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      python.d/cpufreq.chart.py
  2. 1 1
      python.d/cpuidle.chart.py

+ 1 - 1
python.d/cpufreq.chart.py

@@ -14,7 +14,7 @@ ORDER = ['cpufreq']
 
 CHARTS = {
     'cpufreq': {
-        'options': [None, 'CPU Clock', 'MHz', 'cpufreq', 'cpufreq', 'line'],
+        'options': [None, 'CPU Clock', 'MHz', 'cpufreq', 'cpufreq.cpufreq', 'line'],
         'lines': [
             # lines are created dynamically in `check()` method
         ]}

+ 1 - 1
python.d/cpuidle.chart.py

@@ -122,7 +122,7 @@ class Service(SimpleService):
                 self.order.append(orderid)
                 active_name = '%s_active_time' % (cpu,)
                 self.definitions[orderid] = {
-                    'options': [None, 'C-state residency', 'time%', 'cpuidle', 'cpuidle', 'stacked'],
+                    'options': [None, 'C-state residency', 'time%', 'cpuidle', 'cpuidle.cpuidle', 'stacked'],
                     'lines': [
                         [active_name, 'C0 (active)', 'percentage-of-incremental-row', 1, 1],
                     ],