Skip to content

Commit

Permalink
Fix ingestion loader duration metric (stellar#5234)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamirms authored Mar 6, 2024
1 parent e21bc43 commit 742b367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/horizon/internal/ingest/fsm.go
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ func (r resumeState) run(s *system) (transition, error) {
tradeStatsMap := stats.tradeStats.Map()
r.addLedgerStatsMetricFromMap(s, "trades", tradeStatsMap)
r.addProcessorDurationsMetricFromMap(s, stats.transactionDurations)
r.addLoaderDurationsMetricFromMap(s, stats.transactionDurations)
r.addLoaderDurationsMetricFromMap(s, stats.loaderDurations)
r.addLoaderStatsMetric(s, stats.loaderStats)

// since a single system instance is shared throughout all states,
Expand Down

0 comments on commit 742b367

Please sign in to comment.