fix units
Costa Tsaousis (ktsaou) committed
Nov 24, 2015 at 00:45 UTC
2d278785d47701908dcd30ca360d1057d7f57b0e
2 files changed
+26
-26
charts.d/mysql.chart.sh
+15
-15
@@ -159,16 +159,16 @@ mysql_create() {
159
for m in "${mysql_ids[@]}"
160
do
161
cat <<EOF
162
-CHART mysql_$m.bandwidth '' "mysql Bandwidth" "kilobits / sec" mysql_$m mysql area 20001 $mysql_update_every
162
+CHART mysql_$m.bandwidth '' "mysql Bandwidth" "kilobits/s" mysql_$m mysql area 20001 $mysql_update_every
163
DIMENSION Bytes_received in incremental 8 $((1024 * mysql_update_every))
164
DIMENSION Bytes_sent out incremental -8 $((1024 * mysql_update_every))
165
166
-CHART mysql_$m.queries '' "mysql Queries" "queries / sec" mysql_$m mysql line 20002 $mysql_update_every
166
+CHART mysql_$m.queries '' "mysql Queries" "queries/s" mysql_$m mysql line 20002 $mysql_update_every
167
DIMENSION Queries queries incremental 1 $((1 * mysql_update_every))
168
DIMENSION Questions questions incremental 1 $((1 * mysql_update_every))
169
DIMENSION Slow_queries slow_queries incremental -1 $((1 * mysql_update_every))
170
171
-CHART mysql_$m.handlers '' "mysql Handlers" "handlers / sec" mysql_$m mysql line 20003 $mysql_update_every
171
+CHART mysql_$m.handlers '' "mysql Handlers" "handlers/s" mysql_$m mysql line 20003 $mysql_update_every
172
DIMENSION Handler_commit commit incremental 1 $((1 * mysql_update_every))
173
DIMENSION Handler_delete delete incremental 1 $((1 * mysql_update_every))
174
DIMENSION Handler_prepare prepare incremental 1 $((1 * mysql_update_every))
@@ -184,18 +184,18 @@ DIMENSION Handler_savepoint_rollback savepoint_rollback incremental 1 $((1 * mys
184
DIMENSION Handler_update update incremental 1 $((1 * mysql_update_every))
185
DIMENSION Handler_write write incremental 1 $((1 * mysql_update_every))
186
187
-CHART mysql_$m.table_locks '' "mysql Tables Locks" "locks / sec" mysql_$m mysql line 20004 $mysql_update_every
187
+CHART mysql_$m.table_locks '' "mysql Tables Locks" "locks/s" mysql_$m mysql line 20004 $mysql_update_every
188
DIMENSION Table_locks_immediate immediate incremental 1 $((1 * mysql_update_every))
189
DIMENSION Table_locks_waited waited incremental -1 $((1 * mysql_update_every))
190
191
-CHART mysql_$m.join_issues '' "mysql Select Join Issues" "joins / sec" mysql_$m mysql line 20005 $mysql_update_every
191
+CHART mysql_$m.join_issues '' "mysql Select Join Issues" "joins/s" mysql_$m mysql line 20005 $mysql_update_every
192
DIMENSION Select_full_join full_join incremental 1 $((1 * mysql_update_every))
193
DIMENSION Select_full_range_join full_range_join incremental 1 $((1 * mysql_update_every))
194
DIMENSION Select_range range incremental 1 $((1 * mysql_update_every))
195
DIMENSION Select_range_check range_check incremental 1 $((1 * mysql_update_every))
196
DIMENSION Select_scan scan incremental 1 $((1 * mysql_update_every))
197
198
-CHART mysql_$m.sort_issues '' "mysql Sort Issues" "issues / sec" mysql_$m mysql line 20006 $mysql_update_every
198
+CHART mysql_$m.sort_issues '' "mysql Sort Issues" "issues/s" mysql_$m mysql line 20006 $mysql_update_every
199
DIMENSION Sort_merge_passes merge_passes incremental 1 $((1 * mysql_update_every))
200
DIMENSION Sort_range range incremental 1 $((1 * mysql_update_every))
201
DIMENSION Sort_scan scan incremental 1 $((1 * mysql_update_every))
@@ -214,17 +214,17 @@ DIMENSION Binlog_cache_disk_use disk incremental 1 $((1 * mysql_update_every))
214
DIMENSION Binlog_cache_use all incremental 1 $((1 * mysql_update_every))
215
216
CHART mysql_$m.threads '' "mysql Threads" "threads" mysql_$m mysql line 20012 $mysql_update_every
217
-DIMENSION Threads_connected connected absolute 1 $((1 * mysql_update_every))
217
+DIMENSION Threads_connected connected absolute 1 1
218
DIMENSION Threads_created created incremental 1 $((1 * mysql_update_every))
219
-DIMENSION Threads_cached cached absolute -1 $((1 * mysql_update_every))
219
+DIMENSION Threads_cached cached absolute -1 1
220
DIMENSION Threads_running running absolute 1 $((1 * mysql_update_every))
221
222
CHART mysql_$m.thread_cache_misses '' "mysql Threads Cache Misses" "misses" mysql_$m mysql area 20013 $mysql_update_every
223
-DIMENSION misses misses absolute 1 $((100 * mysql_update_every))
223
+DIMENSION misses misses absolute 1 100
224
225
-CHART mysql_$m.innodb_io '' "mysql InnoDB I/O Bandwidth" "kbps" mysql_$m mysql area 20014 $mysql_update_every
226
-DIMENSION Innodb_data_read read incremental 8 $((1000 * mysql_update_every))
227
-DIMENSION Innodb_data_written write incremental -8 $((1000 * mysql_update_every))
225
+CHART mysql_$m.innodb_io '' "mysql InnoDB I/O Bandwidth" "kilobytes/s" mysql_$m mysql area 20014 $mysql_update_every
226
+DIMENSION Innodb_data_read read incremental 1 $((1000 * mysql_update_every))
227
+DIMENSION Innodb_data_written write incremental -1 $((1000 * mysql_update_every))
228
229
CHART mysql_$m.innodb_io_ops '' "mysql InnoDB I/O Operations" "operations/s" mysql_$m mysql line 20015 $mysql_update_every
230
DIMENSION Innodb_data_reads reads incremental 1 $((1 * mysql_update_every))
@@ -240,11 +240,11 @@ DIMENSION Innodb_os_log_fsyncs fsyncs incremental 1 $((1 * mysql_update_every))
240
DIMENSION Innodb_os_log_pending_fsyncs pending_fsyncs incremental 1 $((1 * mysql_update_every))
241
DIMENSION Innodb_os_log_pending_writes pending_writes incremental -1 $((1 * mysql_update_every))
242
243
-CHART mysql_$m.innodb_os_log_io '' "mysql InnoDB OS Log Bandwidth" "kbps" mysql_$m mysql area 20018 $mysql_update_every
244
-DIMENSION Innodb_os_log_written write incremental -8 $((1000 * mysql_update_every))
243
+CHART mysql_$m.innodb_os_log_io '' "mysql InnoDB OS Log Bandwidth" "kilobytes/s" mysql_$m mysql area 20018 $mysql_update_every
244
+DIMENSION Innodb_os_log_written write incremental -1 $((1000 * mysql_update_every))
245
246
CHART mysql_$m.innodb_cur_row_lock '' "mysql InnoDB Current Row Locks" "operations" mysql_$m mysql area 20019 $mysql_update_every
247
-DIMENSION Innodb_row_lock_current_waits current_waits absolute 1 $((1 * mysql_update_every))
247
+DIMENSION Innodb_row_lock_current_waits current_waits absolute 1 1
248
249
CHART mysql_$m.innodb_rows '' "mysql InnoDB Row Operations" "operations/s" mysql_$m mysql area 20020 $mysql_update_every
250
DIMENSION Innodb_rows_read read incremental 1 $((1 * mysql_update_every))
charts.d/opensips.chart.sh
+11
-11
@@ -54,41 +54,41 @@ DIMENSION usrloc_location_users location absolute 1 1
54
DIMENSION usrloc_location_contacts contacts absolute 1 1
55
DIMENSION usrloc_location_expires expires incremental -1 $((1 * opensips_update_every))
56
57
-CHART opensips.registrar '' "OpenSIPS Registrar" "registrations / sec" opensips '' line 20003 $opensips_update_every
57
+CHART opensips.registrar '' "OpenSIPS Registrar" "registrations/s" opensips '' line 20003 $opensips_update_every
58
DIMENSION registrar_accepted_regs accepted incremental 1 $((1 * opensips_update_every))
59
DIMENSION registrar_rejected_regs rejected incremental -1 $((1 * opensips_update_every))
60
61
-CHART opensips.transactions '' "OpenSIPS Transactions" "transactions / sec" opensips '' line 20004 $opensips_update_every
61
+CHART opensips.transactions '' "OpenSIPS Transactions" "transactions/s" opensips '' line 20004 $opensips_update_every
62
DIMENSION tm_UAS_transactions UAS incremental 1 $((1 * opensips_update_every))
63
DIMENSION tm_UAC_transactions UAC incremental -1 $((1 * opensips_update_every))
64
65
-CHART opensips.core_rcv '' "OpenSIPS Core Receives" "queries / sec" opensips '' line 20005 $opensips_update_every
65
+CHART opensips.core_rcv '' "OpenSIPS Core Receives" "queries/s" opensips '' line 20005 $opensips_update_every
66
DIMENSION core_rcv_requests requests incremental 1 $((1 * opensips_update_every))
67
DIMENSION core_rcv_replies replies incremental -1 $((1 * opensips_update_every))
68
69
-CHART opensips.core_fwd '' "OpenSIPS Core Forwards" "queries / sec" opensips '' line 20006 $opensips_update_every
69
+CHART opensips.core_fwd '' "OpenSIPS Core Forwards" "queries/s" opensips '' line 20006 $opensips_update_every
70
DIMENSION core_fwd_requests requests incremental 1 $((1 * opensips_update_every))
71
DIMENSION core_fwd_replies replies incremental -1 $((1 * opensips_update_every))
72
73
-CHART opensips.core_drop '' "OpenSIPS Core Drops" "queries / sec" opensips '' line 20007 $opensips_update_every
73
+CHART opensips.core_drop '' "OpenSIPS Core Drops" "queries/s" opensips '' line 20007 $opensips_update_every
74
DIMENSION core_drop_requests requests incremental 1 $((1 * opensips_update_every))
75
DIMENSION core_drop_replies replies incremental -1 $((1 * opensips_update_every))
76
77
-CHART opensips.core_err '' "OpenSIPS Core Errors" "queries / sec" opensips '' line 20008 $opensips_update_every
77
+CHART opensips.core_err '' "OpenSIPS Core Errors" "queries/s" opensips '' line 20008 $opensips_update_every
78
DIMENSION core_err_requests requests incremental 1 $((1 * opensips_update_every))
79
DIMENSION core_err_replies replies incremental -1 $((1 * opensips_update_every))
80
81
-CHART opensips.core_bad '' "OpenSIPS Core Bad" "queries / sec" opensips '' line 20009 $opensips_update_every
81
+CHART opensips.core_bad '' "OpenSIPS Core Bad" "queries/s" opensips '' line 20009 $opensips_update_every
82
DIMENSION core_bad_URIs_rcvd bad_URIs_rcvd incremental 1 $((1 * opensips_update_every))
83
DIMENSION core_unsupported_methods unsupported_methods incremental 1 $((1 * opensips_update_every))
84
DIMENSION core_bad_msg_hdr bad_msg_hdr incremental 1 $((1 * opensips_update_every))
85
86
-CHART opensips.tm_replies '' "OpenSIPS TM Replies" "replies / sec" opensips '' line 20010 $opensips_update_every
86
+CHART opensips.tm_replies '' "OpenSIPS TM Replies" "replies/s" opensips '' line 20010 $opensips_update_every
87
DIMENSION tm_received_replies received incremental 1 $((1 * opensips_update_every))
88
DIMENSION tm_relayed_replies relayed incremental 1 $((1 * opensips_update_every))
89
DIMENSION tm_local_replies local incremental 1 $((1 * opensips_update_every))
90
91
-CHART opensips.transactions_status '' "OpenSIPS Transactions Status" "transactions / sec" opensips '' line 20011 $opensips_update_every
91
+CHART opensips.transactions_status '' "OpenSIPS Transactions Status" "transactions/s" opensips '' line 20011 $opensips_update_every
92
DIMENSION tm_2xx_transactions 2xx incremental 1 $((1 * opensips_update_every))
93
DIMENSION tm_3xx_transactions 3xx incremental 1 $((1 * opensips_update_every))
94
DIMENSION tm_4xx_transactions 4xx incremental 1 $((1 * opensips_update_every))
@@ -98,7 +98,7 @@ DIMENSION tm_6xx_transactions 6xx incremental 1 $((1 * opensips_update_every))
98
CHART opensips.transactions_inuse '' "OpenSIPS InUse Transactions" "transactions" opensips '' line 20012 $opensips_update_every
99
DIMENSION tm_inuse_transactions inuse absolute 1 1
100
101
-CHART opensips.sl_replies '' "OpenSIPS SL Replies" "replies / sec" opensips '' line 20013 $opensips_update_every
101
+CHART opensips.sl_replies '' "OpenSIPS SL Replies" "replies/s" opensips '' line 20013 $opensips_update_every
102
DIMENSION sl_1xx_replies 1xx incremental 1 $((1 * opensips_update_every))
103
DIMENSION sl_2xx_replies 2xx incremental 1 $((1 * opensips_update_every))
104
DIMENSION sl_3xx_replies 3xx incremental 1 $((1 * opensips_update_every))
@@ -109,7 +109,7 @@ DIMENSION sl_sent_replies sent incremental 1 $((1 * opensips_update_every))
109
DIMENSION sl_sent_err_replies error incremental 1 $((1 * opensips_update_every))
110
DIMENSION sl_received_ACKs ACKed incremental 1 $((1 * opensips_update_every))
111
112
-CHART opensips.dialogs '' "OpenSIPS Dialogs" "dialogs / sec" opensips '' line 20014 $opensips_update_every
112
+CHART opensips.dialogs '' "OpenSIPS Dialogs" "dialogs/s" opensips '' line 20014 $opensips_update_every
113
DIMENSION dialog_processed_dialogs processed incremental 1 $((1 * opensips_update_every))
114
DIMENSION dialog_expired_dialogs expired incremental 1 $((1 * opensips_update_every))
115
DIMENSION dialog_failed_dialogs failed incremental -1 $((1 * opensips_update_every))