satellite/metainfo: remove DeletePieces_node_id metric

Change-Id: I2cb10d411aa2912b256754a24d5c150e9536b4d3
This commit is contained in:
Yingrong Zhao 2020-02-21 15:32:56 -05:00 committed by Yingrong Zhao
parent 5132d285db
commit a645e52ed9

View File

@ -5,7 +5,6 @@ package metainfo
import (
"context"
"fmt"
"time"
"github.com/zeebo/errs"
@ -105,8 +104,7 @@ func (service *DeletePiecesService) DeletePieces(
limiter.Go(ctx, func() {
ctx, cancel := context.WithTimeout(ctx, service.config.NodeOperationTimeout)
defer cancel()
// Track the rate that each single node is dialed
mon.Event(fmt.Sprintf("DeletePieces_node_%s", node.Id.String()))
// TODO: Track the rate that each single node is dialed
// Track the low/high/recent/average/quantiles of successful nodes dialing.
// Not stopping the timer doesn't leak resources.