Skip to content
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

[Tree Backfiller] Metrics and Logging #115

Merged
merged 9 commits into from
Dec 14, 2023

Conversation

kespinola
Copy link
Collaborator

@kespinola kespinola commented Dec 14, 2023

Goal

Add metrics and logging to run in the operations and monitoring of the backfiller.

Changes

  • Connect and emit statsd metrics
  • Setup env logger. Log timing and errors.
  • Fix RPC routing by setting commitment to finalized.
  • Skip queueing a transaction while backfilling if it is already processed

@kespinola kespinola merged commit 2980c89 into triton-build Dec 14, 2023
2 checks passed
@kespinola kespinola deleted the espi/das-ingester-backfiller branch December 14, 2023 10:53
kespinola added a commit that referenced this pull request Dec 14, 2023
* refactor(backfiller): tree backfilling using getSignaturesForAdress. fetch all trees, fetch associated transactions

* feat(backfiller): generate table and model for  query last transaction record for fast forwarding tree transaction crawling

* feat(backfiller): push transaction payloads to redis through the perkle messenger. mark tree transactons as processed_at so know it completed the index loop.

* fix(backfiller): git history changes made from running formatter. just include changes needed by the backfiller.

* fix(backfiller): support mock feature for sea-orm by switching to pg pool and sea_orm adapter.

* feat(backfiller): emit performance and reliability metrics to statsd

* refactor(backfiller): only backfill trees from finalized blocks

* refactor(backfiller): skip queueing a  transaction that is already processed at
linuskendall pushed a commit that referenced this pull request Dec 29, 2023
* refactor(backfiller): tree backfilling using getSignaturesForAdress. fetch all trees, fetch associated transactions

* feat(backfiller): generate table and model for  query last transaction record for fast forwarding tree transaction crawling

* feat(backfiller): push transaction payloads to redis through the perkle messenger. mark tree transactons as processed_at so know it completed the index loop.

* fix(backfiller): git history changes made from running formatter. just include changes needed by the backfiller.

* fix(backfiller): support mock feature for sea-orm by switching to pg pool and sea_orm adapter.

* feat(backfiller): emit performance and reliability metrics to statsd

* refactor(backfiller): only backfill trees from finalized blocks

* refactor(backfiller): skip queueing a  transaction that is already processed at
linuskendall pushed a commit that referenced this pull request Jan 11, 2024
* refactor(backfiller): tree backfilling using getSignaturesForAdress. fetch all trees, fetch associated transactions

* feat(backfiller): generate table and model for  query last transaction record for fast forwarding tree transaction crawling

* feat(backfiller): push transaction payloads to redis through the perkle messenger. mark tree transactons as processed_at so know it completed the index loop.

* fix(backfiller): git history changes made from running formatter. just include changes needed by the backfiller.

* fix(backfiller): support mock feature for sea-orm by switching to pg pool and sea_orm adapter.

* feat(backfiller): emit performance and reliability metrics to statsd

* refactor(backfiller): only backfill trees from finalized blocks

* refactor(backfiller): skip queueing a  transaction that is already processed at
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant