From 41d70061101150cb4e5ae559ca96f0271b352ae3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jaramago=20Fern=C3=A1ndez?= Date: Wed, 15 Apr 2020 17:18:40 +0200 Subject: [PATCH] Joined 'proxysql_server_connections' metrics using example tags --- include/MySQL_HostGroups_Manager.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/include/MySQL_HostGroups_Manager.h b/include/MySQL_HostGroups_Manager.h index 41af752ad..ee10fdf36 100644 --- a/include/MySQL_HostGroups_Manager.h +++ b/include/MySQL_HostGroups_Manager.h @@ -386,21 +386,27 @@ hg_metrics_map { }, { p_hg_counter::server_connections_created, - "proxysql_server_connections_created", + "proxysql_server_connections", "Total number of server connections created.", - {} + { + { "status", "created" } + } }, { p_hg_counter::server_connections_delayed, - "proxysql_server_connections_delayed", + "proxysql_server_connections", "Total number of server connections delayed.", - {} + { + { "status", "delayed" } + } }, { p_hg_counter::server_connections_aborted, - "proxysql_server_connections_aborted", + "proxysql_server_connections", "Total number of backend failed connections (or closed improperly).", - {} + { + { "status", "aborted" } + } }, { p_hg_counter::client_connections_created,