Skip to content

Commit 8d3c4b7

Browse files
committed
Fix metric name.
1 parent 2ae8b1a commit 8d3c4b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

chain/datasource/miner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
func (t *DataSource) DiffSectors(ctx context.Context, addr address.Address, ts, pts *types.TipSet, pre, cur miner.State) (*miner.SectorChanges, error) {
16-
metrics.RecordInc(ctx, metrics.DataSourceSectorDiffCacheHit)
16+
metrics.RecordInc(ctx, metrics.DataSourceSectorDiffRead)
1717
ctx, span := otel.Tracer("").Start(ctx, "DataSource.DiffSectors")
1818
defer span.End()
1919

0 commit comments

Comments
 (0)