Skip to content

Commit 6a32d1c

Browse files
committed
fix(metrics): align task-ack processing timer with histogram
Signed-off-by: Diana Zawadzki <dzawa@live.de>
1 parent abd27ad commit 6a32d1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/history/replication/task_ack_manager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ func (t *TaskAckManager) getTasks(ctx context.Context, pollingCluster string, la
132132
}
133133

134134
taskGeneratedStart := t.timeSource.Now()
135-
taskGeneratedTimer := t.scope.StartTimer(metrics.TaskLatency)
135+
taskGeneratedTimer := t.scope.StartTimer(metrics.TaskProcessingLatency)
136136
defer taskGeneratedTimer.Stop()
137137
defer func() {
138138
t.scope.ExponentialHistogram(metrics.ExponentialTaskProcessingLatency, t.timeSource.Since(taskGeneratedStart))

0 commit comments

Comments
 (0)