static InfluxQueue()
 {
     try
     {
         if (Enabled)
         {
             var influxVersion = InfluxVersion.Auto; //TODO: Move to settings
             _logger.Info(string.Format("Initiating influxdb agent to address {0} database {1} user {2} version {3}.", Address, DatabaseName, UserName, influxVersion));
             _agent     = new InfluxDbAgent(Address, DatabaseName, UserName, Password, null, influxVersion);
             _formatter = _agent.GetAgentInfo().Item1;
         }
     }
     catch (Exception exception)
     {
         _logger.Error(exception);
         _enabled = false;
     }
 }