This repository has been archived by the owner on Jun 19, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add metrics for indexer_last_get_block_height and indexer_last_save_b…
…lock_height (#154) This adds `gauge` metrics for last height retrieved from RPC and saved to the database for easier monitoring. Similar to the `tendermint_consensus_latest_block_height{chain_id}` metric in the node, these also provide `chain_name` as a label. Example of what this adds to prometheus: ``` # TYPE indexer_last_save_block_height gauge indexer_last_save_block_height{chain_name="shielded_expedition"} 80144 # TYPE indexer_last_get_block_height gauge indexer_last_get_block_height{chain_name="shielded-expedition"} 80246 ``` --------- Co-authored-by: sleepy ramen <[email protected]>
- Loading branch information
Showing
4 changed files
with
41 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters