diff --git a/etc/metrics.yaml b/etc/metrics.yaml index 3ae4a498..041c1df3 100644 --- a/etc/metrics.yaml +++ b/etc/metrics.yaml @@ -154,3 +154,21 @@ mysql_global_status_sort_scan: The number of sorts that were done by scanning th mysql_global_status_slow_queries: The number of queries that have taken more than long_query_time seconds. This counter increments regardless of whether the slow query log is enabled.(Counter) mysql_global_status_aborted_connects: The number of failed attempts to connect to the MySQL server.(Counter) mysql_global_status_aborted_clients: The number of connections that were aborted because the client died without closing the connection properly.(Counter) +mysql_global_status_table_locks_immediate: The number of times that a request for a table lock could be granted immediately. Locks Immediate rising and falling is normal activity.(Counter) +mysql_global_status_table_locks_waited: The number of times that a request for a table lock could not be granted immediately and a wait was needed. If this is high and you have performance problems, you should first optimize your queries, and then either split your table or tables or use replication.(Counter) +mysql_global_status_bytes_received: The number of bytes received from all clients.(Counter) +mysql_global_status_bytes_sent: The number of bytes sent to all clients.(Counter) +mysql_global_status_innodb_page_size: InnoDB page size (default 16KB). Many values are counted in pages; the page size enables them to be easily converted to bytes.(Gauge) +mysql_global_status_buffer_pool_pages: The number of pages in the InnoDB buffer pool.(Gauge) +mysql_global_variables_innodb_log_buffer_size: The size in bytes of the buffer that InnoDB uses to write to the log files on disk.(Gauge) +mysql_global_variables_key_buffer_size: Index blocks for MyISAM tables are buffered and are shared by all threads.(Gauge) +mysql_global_variables_query_cache_size: The amount of memory allocated for caching query results.(Gauge) +mysql_global_status_commands_total: The number of times each xxx statement has been executed.(Counter) +mysql_global_status_handlers_total: Handler statistics are internal statistics on how MySQL is selecting, updating, inserting, and modifying rows, tables, and indexes. This is in fact the layer between the Storage Engine and MySQL.(Counter) +mysql_global_status_opened_files: The number of files that have been opened with my_open() (a mysys library function). Parts of the server that open files without using this function do not increment the count.(Counter) +mysql_global_status_open_tables: The number of tables that are open.(Gauge) +mysql_global_status_opened_tables: The number of tables that have been opened. If Opened_tables is big, your table_open_cache value is probably too small.(Counter) +mysql_global_variables_table_open_cache: The number of open tables for all threads.(Gauge) +mysql_global_status_table_open_cache_hits: The number of hits for open tables cache lookups.(Counter) +mysql_global_status_table_open_cache_misses: The number of misses for open tables cache lookups.(Counter) +mysql_global_status_table_open_cache_overflows: The number of overflows for the open tables cache.(Counter)