Skip to content

Commit

Permalink
services/horizon: Register new ingestion metrics (#4026)
Browse files Browse the repository at this point in the history
Register new metrics introduced in bbccb6a and 68b39bd. Metrics that are not
registered are not available to metrics collector.
  • Loading branch information
bartekn authored Oct 22, 2021
1 parent c77eff5 commit e667e88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions services/horizon/internal/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,8 @@ func initIngestMetrics(app *App) {
app.prometheusRegistry.MustRegister(app.ingester.Metrics().ProcessorsRunDurationSummary)
app.prometheusRegistry.MustRegister(app.ingester.Metrics().CaptiveStellarCoreSynced)
app.prometheusRegistry.MustRegister(app.ingester.Metrics().CaptiveCoreSupportedProtocolVersion)
app.prometheusRegistry.MustRegister(app.ingester.Metrics().LedgerFetchDurationSummary)
app.prometheusRegistry.MustRegister(app.ingester.Metrics().StateVerifyLedgerEntriesCount)
}

func initTxSubMetrics(app *App) {
Expand Down

0 comments on commit e667e88

Please sign in to comment.