From f12a18e89094f36fa9db8e56b8061a268218d746 Mon Sep 17 00:00:00 2001 From: Aditi Ahuja <48997495+metonymic-smokey@users.noreply.github.com> Date: Sat, 27 Nov 2021 08:16:07 +0530 Subject: [PATCH] update healthcheck to healthstats. Co-authored-by: Matej Gera <38492574+matej-g@users.noreply.github.com> Signed-off-by: metonymic-smokey --- pkg/compact/compact.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/compact/compact.go b/pkg/compact/compact.go index 45759e673d..1e39e84bc3 100644 --- a/pkg/compact/compact.go +++ b/pkg/compact/compact.go @@ -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 {