From 75875fbaab8eb2605abfac333ffd951605af0a69 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Mon, 20 Apr 2020 16:17:26 +0200 Subject: [PATCH] Metrics identifier is now consistent with display order --- lib/MySQL_HostGroups_Manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MySQL_HostGroups_Manager.cpp b/lib/MySQL_HostGroups_Manager.cpp index a575ceb29..dd983039f 100644 --- a/lib/MySQL_HostGroups_Manager.cpp +++ b/lib/MySQL_HostGroups_Manager.cpp @@ -3526,7 +3526,7 @@ void MySQL_HostGroups_Manager::p_update_connection_pool() { std::string endpoint_addr = mysrvc->address; std::string endpoint_port = std::to_string(mysrvc->port); std::string hostgroup_id = std::to_string(myhgc->hid); - std::string endpoint_id = endpoint_addr + ":" + endpoint_port + ":" + hostgroup_id; + std::string endpoint_id = hostgroup_id + ":" + endpoint_addr + ":" + endpoint_port; // proxysql_connection_pool_bytes_data_recv metric p_update_connection_pool_update_counter(endpoint_id, endpoint_addr, endpoint_port, hostgroup_id,