Skip to content

Commit

Permalink
Fix metric name.
Browse files Browse the repository at this point in the history
  • Loading branch information
birdychang committed Nov 7, 2022
1 parent 2ae8b1a commit 8d3c4b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chain/datasource/miner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 8d3c4b7

Please sign in to comment.