Add cobra_metrics_to_redis sub-command to create streams for each cobra metric event being received.

This commit is contained in:
Benjamin Sergeant
2019-10-24 14:42:25 -07:00
parent ac3e9eab25
commit ac0593bfb3
9 changed files with 343 additions and 18 deletions

10
ws/ws.h
View File

@ -116,6 +116,16 @@ namespace ix
bool strict,
int jobs);
int ws_cobra_metrics_to_redis(const std::string& appkey,
const std::string& endpoint,
const std::string& rolename,
const std::string& rolesecret,
const std::string& channel,
const std::string& filter,
bool quiet,
const std::string& host,
int port);
int ws_snake_main(int port,
const std::string& hostname,
const std::string& redisHosts,