else if (strcmp (key, "Innodb_rows_updated") == 0)
counter_submit ("mysql_innodb_rows", "updated", val, db);
}
+ else if (strncmp (key, "Select_",
+ strlen ("Select_")) == 0)
+ {
+ counter_submit ("mysql_select",
+ key + strlen ("Select_"),
+ val, db);
+ }
+ else if (strncmp (key, "Sort_",
+ strlen ("Sort_")) == 0)
+ {
+ counter_submit ("mysql_sort",
+ key + strlen ("Sort_"),
+ val, db);
+ }
}
mysql_free_result (res); res = NULL;
mysql_innodb_data value:DERIVE:0:U
mysql_innodb_dblwr value:DERIVE:0:U
mysql_innodb_rows value:DERIVE:0:U
+mysql_select value:DERIVE:0:U
+mysql_sort value:DERIVE:0:U
nfs_procedure value:DERIVE:0:U
nginx_connections value:GAUGE:0:U
nginx_requests value:DERIVE:0:U