-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
services/horizon: Add local last ingested ledger metric #2537
Conversation
there is a case in distributed ingestion where the database is up to date with the latest ledger but the in memory orderbook graphs on some nodes are still behind. In this scenario, go/services/horizon/internal/expingest/fsm.go Lines 397 to 439 in cf9bac2
So, if we update the metrics in |
Don't store it in the database since, as I understand it, instances will fight each other.
b536053
to
bbf5cf4
Compare
PR Checklist
PR Structure
otherwise).
services/friendbot
, orall
ordoc
if the changes are broad or impact manypackages.
Thoroughness
.md
files, etc... affected by this change). Take a look in the
docs
folder for a given service,like this one.
Release planning
needed with deprecations, added features, breaking changes, and DB schema changes.
semver, or if it's mainly a patch change. The PR is targeted at the next
release branch if it's not a patch change.
What
Add a Prometheus metric for the latest local (order book graph) ledger being ingested.
Why
Fixes #2530
Known limitations
N/A