fix units in mysql charts
paulfantom committed
Jul 18, 2016 at 15:17 UTC
799e7dd9398965ead916226dea434a347691658b
1 file changed
+4
-4
python.d/mysql.chart.py
+4
-4
@@ -168,7 +168,7 @@ CHARTS = {
168
'lines': [
169
["Innodb_log_waits", "waits", "incremental"],
170
["Innodb_log_write_requests", "write_requests", "incremental", -1, 1],
171
- ["Innodb_log_writes", "incremental", -1, 1],
171
+ ["Innodb_log_writes", "writes", "incremental", -1, 1],
172
]},
173
'innodb_os_log': {
174
'options': [None, 'mysql InnoDB OS Log Operations', 'operations', 'innodb', 'mysql.innodb_os_log', 'line'],
@@ -208,8 +208,8 @@ CHARTS = {
208
'innodb_buffer_pool_bytes': {
209
'options': [None, 'mysql InnoDB Buffer Pool Bytes', 'MB', 'innodb', 'mysql.innodb_buffer_pool_bytes', 'area'],
210
'lines': [
211
- ["Innodb_buffer_pool_bytes_data", "data", "absolute"],
212
- ["Innodb_buffer_pool_bytes_dirty", "dirty", "absolute", -1, 1]
211
+ ["Innodb_buffer_pool_bytes_data", "data", "absolute", 1, 1024 * 1024],
212
+ ["Innodb_buffer_pool_bytes_dirty", "dirty", "absolute", -1, 1024 * 1024]
213
]},
214
'innodb_buffer_pool_read_ahead': {
215
'options': [None, 'mysql InnoDB Buffer Pool Read Ahead', 'operations/s', 'innodb', 'mysql.innodb_buffer_pool_read_ahead', 'area'],
@@ -246,7 +246,7 @@ CHARTS = {
246
'qcache_freemem': {
247
'options': [None, 'mysql QCache Free Memory', 'MB', 'qcache', 'mysql.qcache_freemem', 'area'],
248
'lines': [
249
- ["Qcache_free_memory", "free", "absolute"]
249
+ ["Qcache_free_memory", "free", "absolute", 1, 1024 * 1024]
250
]},
251
'qcache_memblocks': {
252
'options': [None, 'mysql QCache Memory Blocks', 'blocks', 'qcache', 'mysql.qcache_memblocks', 'line'],