Commit Graph

1374 Commits (cd352ff141ba2f2fc56ff397a8eccbc176e8b227)

Author SHA1 Message Date
Jared Jetsel 0ef478e597 In debug mode, the handlers for ProxySQL_Statistics are called even if the web interface plugin is not loaded. This way the code can be tested even if the plugin is not loaded. Added new member function ProxySQL_Statistics::knows_variable_name(), which is used to check if a variable_name is in the map. This is useful to do a check before get_variable_id_for_name() in instances where it is undesirable to load or create entries in the lookup table, while keeping direct access to the map private and mutex protected. In ProxySQL_Statistics::get_variable_id_for_name, wrapped the variable_id select code in a lambda so that it could be reused instead of calling sqlite3_last_insert_rowid(), as there were some thread safety concerns which potentially could produce incorrect ids. Changed the insert to use execute() instead of execute_statement() instead, sufficient and simpler. Added error in case the function could not find, load, or generate a new id.
5 years ago
Jared Jetsel 012cf16eaa Made the new member functions public. If these are only accessible internally by this class, or by the web interface plugin, consider making private and friend class to the plugin. As the extent of their usage is not yet known to me, making them public for now. Caution on adding new lookup entries unnecessarily.
5 years ago
Jared Jetsel 1adaf74170 Modified ProxySQL_Statistics to have two new member functions and two new private members. These are used to map the string variable_name to an integer variable_id to improve scalability. See documentation about their usage. Updated the MySQL_Threads_Hander_sets_v2 function to load the variable_name_id_map if it is empty for initial load from the lookup table. The prepared statement binds was changed to use the int64 variable_id retreived from the map.
5 years ago
Jared Jetsel d644f13780 Updated the SQLite history_mysql_status_variables create table statement to use variable_id instead of name for improved scalability. Added an index for the sql_status_variables table. Added lookup table create statement for history_mysql_status_variables_lookup table to refer the variable_id integer key to the variable_name string. Inserted the new table definition and execute code for the create index that were added. As the code has not yet received public release, there is no concern of keeping the previous table definition, and so the version number refers to v2.4.0.
5 years ago
Javier Jaramago Fernández 71a1f64f2d Added new metric 'proxysql_fds_in_use' reporting the current number of file descriptors in use #3592
5 years ago
Javier Jaramago Fernández 6a92cc9238 Added new command 'PROXYSQL_SIMULATOR' with support for simulating connection errors #3649
5 years ago
Javier Jaramago Fernández 4838d75cd3 Added new mysql variable 'mysql-unshun_algorithm' #3649
5 years ago
René Cannaò 4b04332473 Add optional mutex in MySrvC::connect_error()
5 years ago
René Cannaò a752292b9e Added function unshun_server_all_hostgroups()
5 years ago
Javier Jaramago Fernández b0608af7ee Added documentation for 'MySQL_Session::finishQuery' and 'MySQL_Session::RequestEnd' #3606
5 years ago
Javier Jaramago Fernández d00c394782 Added a TODO comment for a future removal of tracked variable 'SQL_CHARACTER_SET_DATABASE' #2021
5 years ago
Javier Jaramago Fernández e76882c2f9 Added support for 'COM_RESET_CONNECTION' #2021
5 years ago
Javier Jaramago Fernández 53da63eb99 Improved auth performed for 'COM_CHANGE_USER' with impl from 'process_pkt_handshake_response' #3504
5 years ago
Javier Jaramago Fernández 8e97f5a19c Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-3504
5 years ago
Javier Jaramago Fernández db9b4ad70f
Merge pull request #3617 from sysown/v2.x-client_err_limit
5 years ago
Javier Jaramago Fernández 4f94fd3d0f
Merge pull request #3533 from sysown/v2.x-gr_replication_lag_action
5 years ago
Javier Jaramago Fernández 416a0470a5 Added tables 'stats_mysql_client_host_cache' and 'stats_mysql_client_host_cache_reset' exposing entries in 'client_host_cache'
5 years ago
Javier Jaramago Fernández 6e533cb5d9 Merge branch 'v2.x' of github.com:sysown/proxysql into v2.x-client_err_limit
5 years ago
René Cannaò b485623d6f Reimplemented the handling of comments in 'USE' statements #3493
5 years ago
René Cannaò f7bb4d201b Add get_current_query_rules_fast_routing_count()
5 years ago
René Cannaò 2ae218f7ed Cluster: sync of proxysql_servers ensures that checksum is correct
5 years ago
René Cannaò 66c4c6b0a8 Adding new mutex in ProxySQL_Admin::save_proxysql_servers_runtime_to_database()
5 years ago
René Cannaò 48562faaf1 Merge branch 'v2.x' into v2.1.2-cluster
5 years ago
René Cannaò cf33522a25 Commenting unused code
5 years ago
René Cannaò 0da250ec8d
Merge pull request #3491 from csoulios/ldap-auth-changes
5 years ago
René Cannaò 08ea308033
Merge pull request #3552 from sysown/v2.x-ssl_no-rsa
5 years ago
René Cannaò dd71fcd81f Shun "soft" and "hard" in group replication lag
5 years ago
René Cannaò ebbd9845bd
Merge branch 'v2.x' into v2.1.2-cluster
5 years ago
René Cannaò 228c0bfd79
Merge branch 'v2.x' into v2.x-3504
5 years ago
Hormoz K 7762dea993 add crl, crlpath, and capath options
5 years ago
René Cannaò 1f81892adc Commenting unused code
5 years ago
René Cannaò af27c0b108 Merge branch 'v2.x' into v2.1.2-cluster
5 years ago
René Cannaò 3de13665e8
Merge pull request #3557 from sysown/v2.x-ccov2
5 years ago
René Cannaò 538feddc87 Code cleanup
5 years ago
René Cannaò 78f8821215 More code coverage mostly related to Admin
5 years ago
Javier Jaramago Fernández e2dd0a30cd Initial implementation for 'client_error_limit'
5 years ago
René Cannaò b912d978b0 Removing or commenting legacy/unused code
5 years ago
René Cannaò 7f0b358ed8
Merge pull request #3544 from sysown/v2.x-3525
5 years ago
René Cannaò 241a5e54d7 Draft to reimplement how session variables are handled
5 years ago
Javier Jaramago Fernández 4ea7b750fd Moved helper function 'proxy_mysql_stmt_close' from 'gen_utils' to 'MySQL_Protocol' #3525
5 years ago
René Cannaò bc4109404b Remove unused variables
5 years ago
René Cannaò fd7b5f8f50 Implemented PROXYSQL RELOAD TLS
5 years ago
René Cannaò e38562df40
Merge branch 'v2.x' into v2.x-PS-err3024
5 years ago
René Cannaò fce7a0204c Handle binary protocol resultset with ERR #3547
5 years ago
Javier Jaramago Fernández 297bc8bae6 Refactored calls to 'mysql_stmt_close' into function holding preparation of 'MYSQL_STMT*' parameter #3525
5 years ago
Christos Soulios 6030677258 Merge branch 'v2.x' into ldap-auth-changes
5 years ago
Javier Jaramago Fernández a6c2246276 Replaced 'TEST_GROUPREP' impl to better match approach followed for 'READONLY'
5 years ago
Javier Jaramago Fernández b929758a87 Several improvements to 'group_replication_lag_action'
5 years ago
Javier Jaramago Fernández 0850c4d596 Improved the documentation for 'group_replication_lag_action'
5 years ago
Javier Jaramago Fernández 53bf18b428 Changed setting readonly servers 'OFFLINE' due to replication lag behavior in favor of general server 'SHUNNING'
5 years ago
Christos Soulios 9d19c70e8c Merge branch 'v2.x' into ldap-auth-changes
5 years ago
Javier Jaramago Fernández 1f4f86d5ce Added mysql variable to enable unsupported query 'LOAD DATA LOCAL INFILE' issuing warning message #3500
5 years ago
René Cannaò 5ede60ec9f
Merge pull request #3499 from sysown/v2.x-codecov1
5 years ago
Christos Soulios 21803220e1 Merge branch 'v2.x' into ldap-auth-changes
5 years ago
Javier Jaramago Fernández e39211c786 Added documentation for 'ProxySQL_Admin::sql_query_global_mutex' and 'ProxySQL_Admin::save_mysql_servers_runtime_to_database'
5 years ago
René Cannaò 7950e9d102 Increasing the amount of entries stored in mysql_server_aws_aurora_log
5 years ago
Christos Soulios 4359b1f72f Count connections for frontend user, not backend
5 years ago
Javier Jaramago Fernández 5e0dc81e5e Added support for 'Auth Switch Request' for 'COM_CHANGE_USER' #3504
5 years ago
René Cannaò 1ee232bf85 Removed dead code from MySQL_Session
5 years ago
René Cannaò beddc41b1f Cleanup of dead code in MySQL_Protocol
5 years ago
René Cannaò 2ce9ed9686 Disabled in MySQL_Connection code related to store results
5 years ago
René Cannaò 257949f623 Removing MySQL_HostGroups_Manager::server_add()
5 years ago
René Cannaò 81ed72f3fe Removed dead functions from MySQL_Data_Stream()
5 years ago
René Cannaò 81e0bf7edb
Merge pull request #3467 from sysown/v2.x-misc1
5 years ago
Javier Jaramago Fernández 0dde4adb21 Added support for comments in 'USE' statements #3493
5 years ago
Javier Jaramago Fernández 14428f7a92 Merge branch 'v2.x' into v2.2.0-sqliteserver_read_only
5 years ago
Christos Soulios 72d6602ffa Removed commented code
5 years ago
Christos Soulios c7dfb4f9da Removed functions that were not used
5 years ago
Christos Soulios 64ae971ff5 Removed methods that were not used
5 years ago
Christos Soulios df19d16f14 Passed attributes as param to LDAP auth
5 years ago
René Cannaò 6c7503f85f Improve debugging when unable to reach hostgroup
5 years ago
René Cannaò b8b840fe30 More verbosity when proxysql detects a broken connection
5 years ago
René Cannaò e14accd78b
Merge pull request #3453 from sysown/v2.2.0-3427
5 years ago
Javier Jaramago Fernández 9e70e3918b Reversed adding 'first_comment' to 'compute_hash' #3427
5 years ago
Javier Jaramago Fernández 028623c06c Added 'first_comment' to 'MySQL_STMT_Global_info' to allow processing it during 'STMT_EXECUTE' #3427
5 years ago
René Cannaò a2c82bd95a
Merge pull request #3445 from sysown/v2.2.0-opt2
5 years ago
René Cannaò d3c243d898
Merge pull request #3420 from sysown/v2.2.0-3419
5 years ago
René Cannaò eac6e75dad Adding a simulator for read_only test
5 years ago
René Cannaò 49c3b5476b More code cleanup for MySQL variables
5 years ago
René Cannaò 9e3d939ed3 More code cleanup for MySQL variables
5 years ago
René Cannaò eb8dc23dad Code cleanup for MySQL variables
5 years ago
René Cannaò 57fd24c2d6 Several code cleanup in MySQL_Thread
5 years ago
Javier Jaramago Fernández 04d3947212 Implemented sync support for 'mysql_ldap_mapping' table
5 years ago
Javier Jaramago Fernández ba1762bc3e Implemented sync support for 'ldap-%' global variables
5 years ago
René Cannaò 86c95dbb18 Cluster node exports admin-mysql_ifaces
5 years ago
René Cannaò 4f3c133cd0 Implemented variable cluster_sync_interfaces
5 years ago
René Cannaò 7cc750a111 Merge branch 'v2.1.1' into v2.1.2-cluster
5 years ago
René Cannaò f0e3a87159 Introduce ignore_vars in MySQL_Variables
5 years ago
René Cannaò d53578f269
Merge pull request #3353 from sysown/v2.1.1-deprecate_forward_autocommit
5 years ago
René Cannaò 428f2e7e4f
Merge pull request #3358 from sysown/v2.1.1-3357
5 years ago
René Cannaò 26790c3679
Merge pull request #3349 from sysown/v2.1.1-MonRo
5 years ago
René Cannaò 3266cfc506
Merge pull request #3343 from sysown/v2.1.1-spiffe
5 years ago
Javier Jaramago Fernández 228fe0640f Closes #3357: Ported 'v1.4.14-show-warnings' and added new mysql-variable to control it
5 years ago
René Cannaò a0fb4821cc Deprecate mysql-forward_autocommit #3253
5 years ago
René Cannaò f7754a5e00 HostGroups lookup using unordered_map
5 years ago
René Cannaò 532a0397f7 Faster MySQL_HostGroups_Manager::read_only_action
5 years ago
René Cannaò 2b8500aa36 Do not allow CHANGE_USER with spiffe
5 years ago
René Cannaò 7c0bde5f99 Working prototype for SPIFFE
5 years ago
Javier Jaramago Fernández f31d046868 Removed unused class member 'MySQL_HostGroups_Manager::p_err_map_access'
5 years ago
Javier Jaramago Fernández 75af796049 Merge remote-tracking branch 'origin/v2.1.1' into v2.1.1-3248
5 years ago
Javier Jaramago Fernández 32c686487b Merge remote-tracking branch 'origin/v2.1.1' into v2.1.1-3324
5 years ago
Javier Jaramago Fernández d507880cbb Added new metric 'proxysql_myhgm_auto_increment_multiplex_total' tracking the number of times that 'auto_increment_delay_multiplex' is triggered
5 years ago
Javier Jaramago Fernández 4b81e21d57 Added comments, simplified 'stmt->result.data' assignment and minor cleanup for 'process_rows_in_ASYNC_STMT_EXECUTE_STORE_RESULT_CONT'
5 years ago
Javier Jaramago Fernández 84e205dd5a Removed 'PROXYSQL_MONITOR_ERR' enum in favor of single enum 'PROXYSQL_MYSQL_ERR' holding all ProxySQL errors for backend connections
5 years ago
Javier Jaramago Fernández 9713abd3a0 Improved naming on new 'PROXYSQL_ERR' enums and explicit values
5 years ago
Javier Jaramago Fernández 851339b5f3 Closes #3310: Improve error reporting for 'MySQL_Monitor' and 'MySQL_Session' backend connections via counters
5 years ago
René Cannaò 259d07c9ab
Merge pull request #3295 from sysown/v2.1.0-ps_buffer
5 years ago
Javier Jaramago Fernández 8141642bfc Merge branch 'v2.1.1' into v2.1.1-3280
5 years ago
René Cannaò 40d0909b75 Fix typo #3278:wq
5 years ago
René Cannaò fca4055b50
Merge branch 'v2.1.1' into v2.1.0-ps_buffer
5 years ago
René Cannaò a592402902 Implementation of table stats_proxysql_servers_clients_status and PROXYSQL CLUSTER_NODE_UUID command
5 years ago
René Cannaò 69fb384deb Replacing struct proxy_node_address_t with class ProxySQL_Node_Address
5 years ago
René Cannaò 36cc360942 Create UUID
5 years ago
Javier Jaramago Fernández 1ee832affd Closes #3280: Add support to control 'CLIENT_DEPRECATE_EOF' in client and backend connections through global variables
5 years ago
René Cannaò dacea25866 Implemented MySQL_Protocol::generate_pkt_field2()
5 years ago
René Cannaò 7921e130d2 Third commit to buffer resultsets in Prepared Statements
5 years ago
René Cannaò 0171082448 Adding MySQL_ResultSet::init_with_stmt()
5 years ago
René Cannaò 5c0a732d8a Second commit to buffer resultsets in Prepared Statements
5 years ago
René Cannaò ba7b3aa1ed Revert "Adding two new states in MySQL_Connection"
5 years ago
René Cannaò 07e2b94125 Adding two new states in MySQL_Connection
5 years ago
Javier Jaramago Fernández 76b64bed95 Added extra logging reporting all galera nodes status when ProxySQL moves a node from hostgroup
6 years ago
Javier Jaramago Fernández d2a566901e Added support for 'SHOW PROMETHEUS METRICS' command
6 years ago
René Cannaò 4cdcc1f18f
Merge pull request #3123 from sysown/v2.1.0-deprecate_eof
6 years ago
René Cannaò 66e71a0b3f
Merge pull request #3126 from sysown/v2.1.0-3125
6 years ago
Javier Jaramago Fernández 6a1d616396 Renamed 'interval_ms' from 'restapi_routes' table into 'timeout_ms'
6 years ago
René Cannaò 9225edbddd
Merge branch 'v2.1.0' into v2.1.0-deprecate_eof
6 years ago
René Cannaò 58c623c8ad
Merge pull request #3110 from sysown/v2.1.0-201020
6 years ago
Javier Jaramago Fernández 79e3d7a1b7 Added support to convert EOF packets into OK packets for 'Query_Cache' entries
6 years ago
Javier Jaramago Fernández 7150c7d8ed Added metadata to 'Query_Cache' entries for supporting EOF deprecation
6 years ago
René Cannaò 149530a8b2 Default eof_identifier=false in generate_pkt_OK()
6 years ago
Bibek Shrestha 60f2151fe1 Fix special queries response for CLIENT_DEPRECATE_EOF
6 years ago
Bibek Shrestha 205b23acb8 Do not support CLIENT_DEPRECATE_EOF on AdminModule
6 years ago
Bibek Shrestha b16bb275f7 Hardcode false instead of default value
6 years ago
Bibek Shrestha 53032b1c15 Define CLIENT_DEPRECATE_EOF as mariadb does not support it yet
6 years ago
Bibek Shrestha 28c01e9b4d Send OK packet after ResultSet
6 years ago
René Cannaò 8fb875aec1 First commit to split handler___status_WAITING_CLIENT_DATA___STATE_SLEEP___MYSQL_COM_QUERY_qpo
6 years ago
René Cannaò cc4d8f232c Some code cleanup
6 years ago
René Cannaò b8220382d9
Merge pull request #3100 from sysown/v2.1.0-3088
6 years ago
René Cannaò 43624ac63e
Merge pull request #3086 from sysown/v2.1.0-3083
6 years ago
René Cannaò 001351b880 More changes in get_pkts_from_client()
6 years ago
René Cannaò da43919b77 Refactoring MySQL_Session::get_pkts_from_client()
6 years ago
René Cannaò 8b5812f769 Removed dead code from MySQL_Session
6 years ago
René Cannaò f3ff10e989 Splitting MySQL_Session::get_pkts_from_client
6 years ago
Javier Jaramago Fernández 05a005f9fb
Add support for syncing 'mysql-variables' and 'admin-variables' #2820 (#2856)
6 years ago
René Cannaò b2e3ae4222 Splitting MySQL_Session::handler()
6 years ago
Javier Jaramago Fernández 84f4c96afa Multiple changes to multiple metrics definitions
6 years ago
Javier Jaramago Fernández 622a763920 Added new column 'attributes' to 'mysql_query_rules' table
6 years ago
Javier Jaramago Fernández fd245fc559 Replaced invalid definition of counter 'st_var_hostgroup_locked' in favor of gauge
6 years ago
Javier Jaramago Fernández ebedd5e37b Several improvements to prometheus metrics definitions
6 years ago
René Cannaò a0a544ccdf
Merge pull request #3087 from sysown/v2.1.0-admin_web_verbosity
6 years ago
Javier Jaramago Fernández 80e9b4c0d8 Changed new variable name to 'admin___web_verbosity' for being compliant with current 'thread' naming convention
6 years ago
Javier Jaramago Fernández 42fa0f7945 Added new column 'attributes' to 'mysql_users' table
6 years ago
Javier Jaramago Fernández 576e735d14 Added new variable 'web_verbosity' to control web verbosity
6 years ago
René Cannaò aaddb4e568 Port of #3001 to 2.1.0 , related to #3000
6 years ago
René Cannaò fdff65daea Implementation of max_transaction_idle_time
6 years ago
René Cannaò b8161c7fc4 Allow compile on FreeBSD
6 years ago
René Cannaò dd017bbaf5 Fix a bug related to SET autocommit=1 filtered
6 years ago
René Cannaò 47d3420662 Change default of exit_after_SetParse
6 years ago
René Cannaò 507a68db29 Variable mysql-monitor_replication_lag_count
6 years ago
Javier Jaramago Fernández a2727739e4 Added new variable 'mysql-monitor_replication_lag_retries'
6 years ago
René Cannaò 848ddb2177 Added variable mysql-connect_timeout_client
6 years ago
René Cannaò 9dbee27d6c
Merge pull request #2993 from sysown/v2.1.0-from2014
6 years ago
Rene Cannao df5bf138e4 Removed dependency from ma_global.h
6 years ago
René Cannaò 449f4eb659 Adding debug_filters
6 years ago
Javier Jaramago Fernández 72ee8586ee Fixes #2919: Access to GloMTH from 'refresh_variables' and it's destruction is now mutex protected
6 years ago
Javier Jaramago Fernández 386a8929db Fixes #2916: 'admindb' is now replaced if current one doesn't match the one in the static object
6 years ago
René Cannaò 33d8db02a6 Change the mapping logic for SESSION_TRACK_GTIDS
6 years ago
René Cannaò e798c07ba7
Merge pull request #2886 from sysown/v2.1.0-cherrypicks_2.0.13_2
6 years ago
René Cannaò f0c3cfb541
Merge pull request #2896 from sysown/v2.0.13-duplicated_variables_for_2.1.0_2
6 years ago
René Cannaò 62066a4743 Fix in mysql_tracked_variables[]
6 years ago
René Cannaò b9645b39dc
Merge branch 'v2.1.0' into v2.1.0-cherrypicks_2.0.13_2
6 years ago
René Cannaò 4748c7d052 Various bug fixes related to deprecated mysql-default_ variables
6 years ago
René Cannaò 5ce13abc36
Merge pull request #2881 from sysown/v2.1.0-2717
6 years ago
Javier Jaramago Fernández 66478b89ee Added new stat 'new_req_conns_count' counting the num of 'create_new_connection' recieved
6 years ago
Javier Jaramago Fernández 4409044398 Added support for annotation 'create_new_connection' that prevents reusing backend connections
6 years ago
René Cannaò 3d74ef4828
Merge pull request #2882 from sysown/v2.1.0-2862
6 years ago
Javier Jaramago Fernández d10f519e4a Refactored 'MySQL_Session' set/get status functions
6 years ago
René Cannaò 00ce76e57e Add support for SAVEPOINT #948
6 years ago
Javier Jaramago Fernández 8fafa66336 Removed unused variables from 'MySQL_Connection()'
6 years ago
Javier Jaramago Fernández cbf11dfcff Fix crashes related to accesses to worker threads during initialization / shutdown stages
6 years ago
René Cannaò bc0963e3f4
Merge pull request #2833 from sysown/v2.1.0-2687
6 years ago
Javier Jaramago Fernández 047bdc6b72 Removed introduced helper function 'proxy_info_' and macros in favor of old 'proxy_info'
6 years ago
Javier Jaramago Fernández 486a12e2ae Added new metrics for the 'wont sync' conditions and fixed some other metrics descriptions
6 years ago
Javier Jaramago Fernández a213cf8cd7 Added new logging messages for same epoch 'WONT SYNC' conflict using 'diff_check' for intervals
6 years ago
Javier Jaramago Fernández 977c094a0f Added new prometheus metrics for synchronization fetching events
6 years ago
Javier Jaramago Fernández 651014a0b9 Added extra logging for two different situations:
6 years ago
René Cannaò ffc4895720
Merge pull request #2821 from sysown/v2.1.0-sqlite3
6 years ago
René Cannaò 35c851b9fa Moved LoadPlugin_sqlite3_plugin into SQLite3DB
6 years ago
René Cannaò c808c1f1a8 Move definition of sqlite3 funcs out of main.cpp
6 years ago
René Cannaò 2bbd84d2c9 Support for SQLite3 plugin
6 years ago
Javier Jaramago Fernández eaf5a297b9 Merge branch 'v2.1.0' of github.com:sysown/proxysql into v2.1.0-2687
6 years ago
Javier Jaramago Fernández fd75d8632c Added new header file for helper functions
6 years ago
René Cannaò e2ea108aa6
Merge pull request #2803 from sysown/v2.1.0-2802
6 years ago
Javier Jaramago Fernández e6907127a3 Implements synchronization of: 'mysql_galera_hostgroups', 'group_replication_hostgroups' and 'mysql_aws_aurora_hostgroups'
6 years ago
Javier Jaramago Fernández ae1f976ea5 Fixes #2802: Added checks to verify that no prometheus array element is left un-initialized
6 years ago
René Cannaò 18cfbce985
Merge pull request #2757 from sysown/v2.1.0-group-concat
6 years ago
Javier Jaramago Fernández 68891d3703 Merge branch 'v2.1.0' of github.com:sysown/proxysql into v2.1.0-266_0-3
6 years ago
Valentin Rakush c7f49ebc9c generate regexp for mysql variables
6 years ago
Valentin Rakush b0d36acb2f Session variable group_concat_max_len
6 years ago
René Cannaò aca9d46ff1
Merge pull request #2750 from sysown/v2.1.0-cluster1
6 years ago
René Cannaò 03bf53aec8 Preparing the cluster module to sync variables
6 years ago
René Cannaò 9acfaa211c
Merge pull request #2723 from sysown/v2.0.11-QP_stmt_2
6 years ago
René Cannaò 4b2107b7c3 Splitting MySQL_Session::get_pkts_from_client()
6 years ago
René Cannaò c0a3efdd7f
Merge branch 'v2.1.0' into v2.0.11-QP_stmt_2
6 years ago
René Cannaò 4bed506067 Breaking MySQL_Session::handler() in 2 main blocks
6 years ago
René Cannaò 1adceeb9d6 Merge branch 'v2.1.0_session_handler_split' into v2.1.0_session_handler_split_2
6 years ago
René Cannaò 0a78949d98
Merge branch 'v2.1.0' into v2.0.11-prometheus
6 years ago
René Cannaò 8d6b48f21d Adding new method MySQL_Session::handler_again___multiple_statuses()
6 years ago
René Cannaò 308639d0dc Renamed session_status NONE to session_status___NONE
6 years ago
Javier Jaramago Fernández f82f239808 Added support for grouping queries in 'stats_mysql_query_digest'
6 years ago
val eb638a1b16 fix for galera set writer
6 years ago
René Cannaò 543b96facf
Merge pull request #2651 from sysown/v2.0.11-aux
6 years ago
Javier Jaramago Fernández 7f8b07a0db Created new metric counters for registering 'mysql_errors'
6 years ago
Javier Jaramago Fernández 8b76426baf Added two new helper functions to update map counters
6 years ago
René Cannaò 7b021e027a Do not cache routing metadata for COM_STMT_EXECUTE
6 years ago
Javier Jaramago Fernández 225c253607 Added new 'prometheus_memory_metrics_interval' admin variable
6 years ago
Javier Jaramago Fernández dbbfc397a6 "Added helper function and uniformed 'hostgroup_manager' metrics update"
6 years ago
Javier Jaramago Fernández f3c4fb648e Added missing already defined metric to map and added new one
6 years ago
Javier Jaramago Fernández 611c77e67d Replaced internal issue number with GH issue
6 years ago
Javier Jaramago Fernández 7c561bc701 Added serveral 'global_variables' metrics
6 years ago
Javier Jaramago Fernández 5feea37abb Moved third-party prometheus included headers before project includes
6 years ago
Javier Jaramago Fernández a4e4e57343 Moved all 'metrics_maps' to source files
6 years ago
Javier Jaramago Fernández 864535d3f9 Added support for GCC 4.8 and removed per-module metrics initialization functions
6 years ago
René Cannaò 8cc88ce58e Migration of threads status variables as array
6 years ago
René Cannaò 30aac6465e Improved MySQL_HostGroups_Manager::p_update_connection_pool_update_counter()
6 years ago
Javier Jaramago Fernández 1566ce44a4 Added generic prometheus arrays initialization functions to avoid code duplication
6 years ago
Javier Jaramago Fernández f0588c72e1 Fixed typo in several prometheus metric names and identifiers
6 years ago
Javier Jaramago Fernández d07c95b2e9 Added metrics help and replaced metrics impl with new array based one for 'proxysql_admin' module
6 years ago
Javier Jaramago Fernández b6bca5a3ee Added metrics help and replaced metrics impl with new array based one for 'mysql_threads_handler' module
6 years ago
Javier Jaramago Fernández 4d961542b2 Added metrics help and replaced metrics impl with new array based one for 'query_cache' module
6 years ago
Javier Jaramago Fernández c897b25e9f Added metrics help and replaced metrics impl with new array based one for 'mysql_monitor' module
6 years ago
Javier Jaramago Fernández 596018b913 Added missing empty line between type definitions
6 years ago
Javier Jaramago Fernández 41d7006110 Joined 'proxysql_server_connections' metrics using example tags
6 years ago
Javier Jaramago Fernández ab874fa969 Added missing help to 'hostgroup_manager' metrics
6 years ago
Javier Jaramago Fernández c48b109019 Replaced 'hostgroups_manager' prometheus metrics with new array based impl
6 years ago
Javier Jaramago Fernández 073337c716 Added new metric 'proxysql_gtid_executed'
6 years ago
Javier Jaramago Fernández c6f75ea454 Added more metrics, fixed some invalid updated ones and standarized the 'update_modules_metrics' callback
6 years ago
Javier Jaramago Fernández 3256fb50d8 Changed metric name, fixed metric update and standarized the metrics update callback
6 years ago
Javier Jaramago Fernández 4f60c3356c Added new metrics and fixed ones which weren't initialized
6 years ago
Javier Jaramago Fernández 472207b951 Added new 'stmt', 'memory' prometheus metrics and callback with new metrics updates
6 years ago
Javier Jaramago Fernández 026b083f69 Added new prometheus 'query_cache' metrics
6 years ago
Javier Jaramago Fernández eab412546b Changed previous metrics definitions and added updating
6 years ago
Javier Jaramago Fernández e1e89c6754 Changed previous metrics definitions and added new 'connection_pool' metrics
6 years ago
Javier Jaramago Fernández ec63af6c4a Removed old plugin based implementation
6 years ago
Javier Jaramago Fernández 621332d423 Added new prometheus exposer to ProxySQL_Admin
6 years ago
Javier Jaramago Fernández 689bb50234 Modified 'ProxySQL_RESTAPI_Server' constructor for being able to define generic extra GET endpoints
6 years ago
Javier Jaramago Fernández c2c4723d01 Added prometheus registry to gloval variables and modified definition for calling default constructor
6 years ago
Javier Jaramago Fernández c319db2c3d Added new prometheus metrics mimicking current ones
6 years ago
Javier Jaramago Fernández e703178f04 Moved header colliding with <memory> to unique file that requires it
6 years ago
Javier Jaramago Fernández 57532a762e Added new global variable 'prometheus_plugin' to specify the loading of the plugin
6 years ago