diff --git a/db/compaction_job.cc b/db/compaction_job.cc index 2fcdd2862..691aa2f62 100644 --- a/db/compaction_job.cc +++ b/db/compaction_job.cc @@ -542,8 +542,9 @@ Status CompactionJob::Install(const MutableCFOptions& mutable_cf_options, UpdateCompactionJobStats(stats); auto stream = event_logger_->LogToBuffer(log_buffer_); - stream << "job" << job_id_ << "event" - << "compaction_finished" + stream << "job" << job_id_ + << "event" << "compaction_finished" + << "compaction_time_micros" << compaction_stats_.micros << "output_level" << compact_->compaction->output_level() << "num_output_files" << compact_->NumOutputFiles() << "total_output_size" << compact_->total_bytes