influxdb-cpp
influxdb-cpp copied to clipboard
💜 C++ client for InfluxDB.
It's weird, I cannot figure out why. ### Situation - When with option "-fmodules-ts" - - If include any one of "influxdb.hpp" and "string", the minimal code example will compile...
Dear Orca, thank you very much for this neat piece of code! I added the support to connect to influxdb using the hostname instead of the IP address. Cheers, Ben
When your password includes `%` or `&`, the http result will be 401 authentication failed. Because the password is set to url directly by concat strings. You should do url...
It would be nice to add a sync feature where data can be synchronized between 2 databases on 2 hosts. The sync algorithm is kinda tricky but I made it...
Hi, I was trying to access influx database via UDP but cannot succeed. The situation here is that I have a specific database name which I have to access everytime,...
Hello, I have history with C and relatively new to C++ and your API is a pattern I have not seen before. I have the test app working fine with...
Implement the writev function ```c++ #ifdef _WIN32 #define NOMINMAX #include #include #pragma comment(lib, "ws2_32") typedef struct iovec { void* iov_base; size_t iov_len; } iovec; inline __int64 writev(int sock, struct iovec*...
关于这个项目的 todo list 里的这一条,我认为还是很有必要的。 我引用这个项目,将股票期货报价数据写入到 InfluxDB 里面去,每一个报价都 Post 一次,Post 里面又包含了 sock 的创建连接等,显然太占用资源了。 我将 server_info struct 里面添加了 sock addr 两个变量, 添加了 DoConnect DoWritev DoRecv 三个方法,替代你的项目里面的 http_request 内的创建 socket, connect sock 以及writev...
I can see the function -import is not a part of this library. Is there any intention of adding that influx command?