correct free/used typo in prometheus 'connection_pool' gauge cleanup

pull/4470/head
Thomas Saunders 2 years ago
parent a9e7af8a7b
commit 041c3d7d23
No known key found for this signature in database
GPG Key ID: 1DACFF3939836863

@ -4380,13 +4380,13 @@ void MySQL_HostGroups_Manager::p_update_connection_pool() {
status.p_dyn_gauge_array[p_hg_dyn_gauge::connection_pool_status]->Remove(gauge);
status.p_connection_pool_status_map.erase(key);
gauge = status.p_connection_pool_conn_used_map[key];
gauge = status.p_connection_pool_conn_free_map[key];
status.p_dyn_gauge_array[p_hg_dyn_gauge::connection_pool_conn_free]->Remove(gauge);
status.p_connection_pool_conn_used_map.erase(key);
status.p_connection_pool_conn_free_map.erase(key);
gauge = status.p_connection_pool_conn_free_map[key];
gauge = status.p_connection_pool_conn_used_map[key];
status.p_dyn_gauge_array[p_hg_dyn_gauge::connection_pool_conn_used]->Remove(gauge);
status.p_connection_pool_conn_free_map.erase(key);
status.p_connection_pool_conn_used_map.erase(key);
gauge = status.p_connection_pool_latency_us_map[key];
status.p_dyn_gauge_array[p_hg_dyn_gauge::connection_pool_latency_us]->Remove(gauge);

Loading…
Cancel
Save