1.
main.goɿִļtelegrafTest
2.ִ
./telegrafTest
3. telegraf.jsonļ
  hostIp TDengineIPַ
  machineNum ģĻ
  loopNum ÿĴ
  dbName ݿ
  dataBegin ģݵĿʼʱ
4.telegraf.reqͨ䣩
  1滻panshi-gsl1536750380000ַhttp
  2ͨhttp͸TDengine
5.ע
  1޸ļ/etc/taos/taos.cfg
  httpDebugFlag Ϊ131131-httpDebug,135-httpDebug
  httpMaxThreads ջã÷ΧΪ1-cpu cores)
  httpCacheSessions Ϊܵhttpӵ2
  maxVnodeConnections Ϊ100000
  maxMeterConnections Ϊ100000
  maxShellConns Ϊ100000
  maxMgmtConnections Ϊ100000
  2linux
  ulimit -n 600000