Add prometheus support

This commit is contained in:
avigailo 2025-04-10 15:01:56 +03:00
parent 7c2fcbddcf
commit c71b361755

View File

@ -163,7 +163,7 @@ RestServer::Impl::init()
}
}
bool is_ipv6 = getProfileAgentSettingWithDefault(false, "enable_ipv6");
bool is_ipv6 = getProfileAgentSettingWithDefault(false, "agent.rest.enableIpv6");
if (is_ipv6) {
fd = socket(AF_INET6, SOCK_STREAM, 0);
} else {