print last inserted entry during ingestion
This commit is contained in:
@@ -95,9 +95,8 @@ public class PerformanceDb implements AutoCloseable {
|
|||||||
final long entriesPerSecond = (long) (insertionsSinceLastSync / (duration / 1000.0));
|
final long entriesPerSecond = (long) (insertionsSinceLastSync / (duration / 1000.0));
|
||||||
|
|
||||||
METRICS_LOGGER
|
METRICS_LOGGER
|
||||||
.debug(String.format("inserting %d/s ; the last %,d took %dms; total entries: %,d",
|
.debug(String.format("inserting %d/s ; the last %,d took %dms; total entries: %,d; last entry: %s",
|
||||||
entriesPerSecond, insertionsSinceLastSync, duration, count));
|
entriesPerSecond, insertionsSinceLastSync, duration, count, entry));
|
||||||
|
|
||||||
tagsToFile.flush();
|
tagsToFile.flush();
|
||||||
|
|
||||||
lastSync = System.currentTimeMillis();
|
lastSync = System.currentTimeMillis();
|
||||||
|
|||||||
Reference in New Issue
Block a user