move sentry and statsd cobra ws commands into a new ixbots folder

This commit is contained in:
Benjamin Sergeant
2020-03-11 15:55:45 -07:00
parent 6a4d69afc5
commit 3df7c942d7
14 changed files with 714 additions and 346 deletions

View File

@ -32,8 +32,13 @@ namespace ix
cobraMetricsPublisher.enable(true);
bool enablePerMessageDeflate = true;
cobraMetricsPublisher.configure(
config.appkey, config.endpoint, channel, config.rolename, config.rolesecret, enablePerMessageDeflate, config.socketTLSOptions);
cobraMetricsPublisher.configure(config.appkey,
config.endpoint,
channel,
config.rolename,
config.rolesecret,
enablePerMessageDeflate,
config.socketTLSOptions);
while (!cobraMetricsPublisher.isAuthenticated())
;