diff options
Diffstat (limited to 'internal/praefect/replicator.go')
-rw-r--r-- | internal/praefect/replicator.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/praefect/replicator.go b/internal/praefect/replicator.go index 3d71e22fa..2f3a48ea3 100644 --- a/internal/praefect/replicator.go +++ b/internal/praefect/replicator.go @@ -330,7 +330,7 @@ func (r ReplMgr) processReplJob(ctx context.Context, job datastore.ReplJob) { } replDuration := time.Since(replStart) - r.replLatencyMetric.Observe(float64(replDuration / time.Millisecond)) + r.replLatencyMetric.Observe(float64(replDuration) / float64(time.Second)) if err := r.datastore.UpdateReplJob(job.ID, datastore.JobStateComplete); err != nil { l.WithError(err).Error("error when updating replication job status to complete") |