add instance id/flush_interval, they will be used for internal stats
decouple ingest, metric tracking, and forwarding work

* forward asap, don't wait for sql
* control over # sql workers (for now only 1),
  instead of 1 mysql connection for every input connection