prometheus-cpp-lite
prometheus-cpp-lite copied to clipboard
push_to_server_example crashed
platform : Windows10 tools : GCC 8.1.0 x86_64-w64-migw32, CMake 3.27
I added wsock32 lib to CMakelist and built examples successfully.But when I run push_to_server_example.exe,it crashed after a few seconds and threw a message like this:
terminate called after throwing an instance of 'std::length_error'
what(): basic_string::_ "M_replace_aux"