Skip to content

IDX-830 Add Prometheus metrics - #507

Merged
DZakh merged 6 commits into
mainfrom
dz/envio-metrics
Apr 25, 2025
Merged

IDX-830 Add Prometheus metrics#507
DZakh merged 6 commits into
mainfrom
dz/envio-metrics

Conversation

@DZakh

@DZakh DZakh commented Apr 22, 2025

Copy link
Copy Markdown
Member
  • envio_indexing_addresses - The number of addresses indexed on chain. Includes both static and dynamic addresses.
  • envio_indexing_end_block - The block number to stop indexing at. (inclusive)
  • envio_progress_block_number - The block number to track the progress of indexing at. Currently uses the fully fetched block number. In the future will be changed to block number processed and stored in the database.

Also, stopped closing completed indexer process when used in dev mode with TUI

@DZakh
DZakh requested a review from JonoPrest April 22, 2025 16:20
@DZakh DZakh changed the title Add envio_indexing_addresses Prometheus metric Add Prometheus metrics Apr 23, 2025
@DZakh
DZakh requested a review from JasoonS April 23, 2025 11:50
@JasoonS JasoonS changed the title Add Prometheus metrics IDX-830 Add Prometheus metrics Apr 25, 2025
@JasoonS

JasoonS commented Apr 25, 2025

Copy link
Copy Markdown
Contributor

Cool, it makes sense. I went through the issue and edited things. I think this first part can be merged though.

Am I understanding correctly envio_progress_block_number - Currently is the latest block fetched from the chain or the source. But in the future you want this to be the latest block number that is actually processed by the handlers and finished saving to the database?

@JasoonS

JasoonS commented Apr 25, 2025

Copy link
Copy Markdown
Contributor

I updated the issue, let me know if you agree: https://linear.app/envio/issue/IDX-830/update-hyperindex-code-with-new-metrics

@DZakh

DZakh commented Apr 25, 2025

Copy link
Copy Markdown
Member Author

Cool, it makes sense. I went through the issue and edited things. I think this first part can be merged though.

Am I understanding correctly envio_progress_block_number - Currently is the latest block fetched from the chain or the source. But in the future you want this to be the latest block number that is actually processed by the handlers and finished saving to the database?

Exactly

@DZakh

DZakh commented Apr 25, 2025

Copy link
Copy Markdown
Member Author

I updated the issue, let me know if you agree: https://linear.app/envio/issue/IDX-830/update-hyperindex-code-with-new-metrics

Fixed some things.

@DZakh
DZakh merged commit d2c697f into main Apr 25, 2025
@DZakh
DZakh deleted the dz/envio-metrics branch April 25, 2025 13:39
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.

2 participants