adjustments to include `flushInterval` in data that is ingested.
Use flush interval to set number of samples.