minor refactoring to delete files which are not needed

This commit is contained in:
Benjamin Sergeant
2020-03-12 12:13:31 -07:00
parent 7642ccc99e
commit 83ae105edb
9 changed files with 17 additions and 329 deletions

View File

@ -15,6 +15,8 @@
#include <ixwebsocket/IXNetSystem.h>
#include <ixwebsocket/IXSocket.h>
#include <ixwebsocket/IXUserAgent.h>
#include <ixbots/IXCobraToSentryBot.h>
#include <ixbots/IXCobraToStatsdBot.h>
#include <spdlog/spdlog.h>
#include <sstream>
#include <string>
@ -440,13 +442,15 @@ int main(int argc, char** argv)
}
else if (app.got_subcommand("cobra_to_statsd"))
{
ret = ix::ws_cobra_to_statsd_main(
ret = ix::cobra_to_statsd_bot(
cobraConfig, channel, filter, hostname, statsdPort, prefix, fields, verbose);
}
else if (app.got_subcommand("cobra_to_sentry"))
{
ret = ix::ws_cobra_to_sentry_main(
cobraConfig, channel, filter, dsn, verbose, strict, jobs, maxQueueSize);
bool enableHeartbeat = true;
int runtime = -1;
ret = ix::cobra_to_sentry_bot(
cobraConfig, channel, filter, dsn, verbose, strict, jobs, maxQueueSize, enableHeartbeat, runtime);
}
else if (app.got_subcommand("cobra_metrics_to_redis"))
{