Skip to content

Commit

Permalink
Fix total lookup table rows deleted metric
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirms committed Nov 13, 2024
1 parent 18a614a commit 297a4d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions services/horizon/internal/ingest/reap.go
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ func (r *lookupTableReaper) deleteOrphanedRows(ctx context.Context) error {
}
deleteDuration := time.Since(deleteStartTime)
totalDeleteDuration += deleteDuration
totalDeleted += rowsDeleted

r.rowsReapedByLookupTable.With(prometheus.Labels{"table": table}).
Observe(float64(rowsDeleted))
Expand Down

0 comments on commit 297a4d9

Please sign in to comment.