diff --git a/lib/MySQL_HostGroups_Manager.cpp b/lib/MySQL_HostGroups_Manager.cpp index 980664e3c..4c04b0b7c 100644 --- a/lib/MySQL_HostGroups_Manager.cpp +++ b/lib/MySQL_HostGroups_Manager.cpp @@ -1237,8 +1237,14 @@ hg_metrics_map = std::make_tuple( ), // mysql_error std::make_tuple ( - p_hg_dyn_counter::mysql_error, + p_hg_dyn_counter::proxysql_mysql_error, "proxysql_mysql_error", + "Tracks the mysql errors generated by proxysql, identifying them by: hostgroup + hostname + port + error_code.", + metric_tags {} + ), + std::make_tuple ( + p_hg_dyn_counter::mysql_error, + "mysql_error", "Tracks the mysql errors encountered, identifying them by: hostgroup + hostname + port + error_code.", metric_tags {} )