Skip to content

Commit

Permalink
update healthcheck to healthstats.
Browse files Browse the repository at this point in the history
Co-authored-by: Matej Gera <38492574+matej-g@users.noreply.github.com>
  • Loading branch information
metonymic-smokey and matej-g committed Nov 27, 2021
1 parent 3783abd commit 3d0dd8f
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 @@ -1026,7 +1026,7 @@ func (cg *Group) compact(ctx context.Context, dir string, planner Planner, comp

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

0 comments on commit 3d0dd8f

Please sign in to comment.