In case of <protocols> is used over <tcp_port> (e.t.c.), the name of the server is different and the code in AsynchronouseMetrics.cpp fails to match them. Suggestion - add proper ServerType::Type enum into the ProtocolServerAdapter, and use it over matching by "port name".