Skip to content

Commit

Permalink
fix missing duration log key (thanos-io#5759)
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Ye <benye@amazon.com>

Signed-off-by: Ben Ye <benye@amazon.com>
Signed-off-by: utukj <utukphd@gmail.com>
  • Loading branch information
yeya24 authored and utukJ committed Oct 13, 2022
1 parent 38da08b commit a1cdfc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/compact/compact.go
Original file line number Diff line number Diff line change
Expand Up @@ -1154,7 +1154,7 @@ func (cg *Group) compact(ctx context.Context, dir string, planner Planner, comp
}

level.Info(cg.logger).Log("msg", "finished compacting blocks", "result_block", compID, "source_blocks", sourceBlockStr,
time.Since(groupCompactionBegin), "duration_ms", time.Since(groupCompactionBegin).Milliseconds())
"duration", time.Since(groupCompactionBegin), "duration_ms", time.Since(groupCompactionBegin).Milliseconds())
return true, compID, nil
}

Expand Down

0 comments on commit a1cdfc9

Please sign in to comment.