From eea199e791f14689241b6c4b162bc45b9b23f210 Mon Sep 17 00:00:00 2001 From: birdy Date: Thu, 3 Nov 2022 16:23:41 -0700 Subject: [PATCH] Fix metric name. --- chain/datasource/miner.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/datasource/miner.go b/chain/datasource/miner.go index 43e68d963..ea9b78a77 100644 --- a/chain/datasource/miner.go +++ b/chain/datasource/miner.go @@ -13,7 +13,7 @@ import ( ) func (t *DataSource) DiffSectors(ctx context.Context, addr address.Address, ts, pts *types.TipSet, pre, cur miner.State) (*miner.SectorChanges, error) { - metrics.RecordInc(ctx, metrics.DataSourceSectorDiffCacheHit) + metrics.RecordInc(ctx, metrics.DataSourceSectorDiffRead) ctx, span := otel.Tracer("").Start(ctx, "DataSource.DiffSectors") defer span.End()