Skip to content

Commit f12a18e

Browse files
update healthcheck to healthstats.
Co-authored-by: Matej Gera <[email protected]> Signed-off-by: metonymic-smokey <[email protected]>
1 parent 3783abd commit f12a18e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/compact/compact.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1026,7 +1026,7 @@ func (cg *Group) compact(ctx context.Context, dir string, planner Planner, comp
10261026

10271027
// Ensure all input blocks are valid.
10281028
var stats block.HealthStats
1029-
tracing.DoInSpan(ctx, "compaction_block_healthcheck", func(ctx context.Context) {
1029+
tracing.DoInSpan(ctx, "compaction_block_healthstats", func(ctx context.Context) {
10301030
stats, err = block.GatherIndexHealthStats(cg.logger, filepath.Join(bdir, block.IndexFilename), meta.MinTime, meta.MaxTime)
10311031
}, opentracing.Tags{"block.id": meta.ULID})
10321032
if err != nil {

0 commit comments

Comments
 (0)