fix various python modules charts contexts (#11310)
Ilya Mashchenko committed
Jul 2, 2021 at 14:26 UTC
180ace8264c21ae77635965edd21e369ad45701e
3 files changed
+5
-5
collectors/python.d.plugin/mysql/mysql.chart.py
+2
-2
@@ -398,7 +398,7 @@ CHARTS = {
398
]
399
},
400
'innodb_os_log_fsync_writes': {
401
- 'options': [None, 'InnoDB OS Log Operations', 'operations/s', 'innodb', 'mysql.innodb_os_log', 'line'],
401
+ 'options': [None, 'InnoDB OS Log Operations', 'operations/s', 'innodb', 'mysql.innodb_os_log_fsyncs', 'line'],
402
'lines': [
403
['Innodb_os_log_fsyncs', 'fsyncs', 'incremental'],
404
]
@@ -445,7 +445,7 @@ CHARTS = {
445
},
446
'innodb_buffer_pool_flush_pages_requests': {
447
'options': [None, 'InnoDB Buffer Pool Flush Pages Requests', 'requests/s', 'innodb',
448
- 'mysql.innodb_buffer_pool_pages', 'line'],
448
+ 'mysql.innodb_buffer_pool_pages_flushed', 'line'],
449
'lines': [
450
['Innodb_buffer_pool_pages_flushed', 'flush pages', 'incremental'],
451
]
collectors/python.d.plugin/smartd_log/smartd_log.chart.py
+1
-1
@@ -154,7 +154,7 @@ CHARTS = {
154
'algo': INCREMENTAL,
155
},
156
'write_total_err_corrected': {
157
- 'options': [None, 'Write Error Corrected', 'errors', 'errors', 'smartd_log.read_total_err_corrected', 'line'],
157
+ 'options': [None, 'Write Error Corrected', 'errors', 'errors', 'smartd_log.write_total_err_corrected', 'line'],
158
'lines': [],
159
'attrs': [ATTR_WRITE_ERR_COR],
160
'algo': INCREMENTAL,
collectors/python.d.plugin/zscores/zscores.chart.py
+2
-2
@@ -24,11 +24,11 @@ ORDER = [
24
25
CHARTS = {
26
'z': {
27
- 'options': ['z', 'Z Score', 'z', 'Z Score', 'z', 'line'],
27
+ 'options': ['z', 'Z Score', 'z', 'Z Score', 'zscores.z', 'line'],
28
'lines': []
29
},
30
'3stddev': {
31
- 'options': ['3stddev', 'Z Score >3', 'count', '3 Stddev', '3stddev', 'stacked'],
31
+ 'options': ['3stddev', 'Z Score >3', 'count', '3 Stddev', 'zscores.3stddev', 'stacked'],
32
'lines': []
33
},
34
}